-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33d6ab4
commit 9dd9ed6
Showing
7 changed files
with
74 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
EasyEplanner.Tests/InterprojectExchange.Test/Models.Test/ProjectModelTest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using InterprojectExchange; | ||
using NUnit.Framework; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace EasyEplannerEasyEplannerTests.InterprojectExchangeTest | ||
{ | ||
|
||
public class ProjectModelTest | ||
{ | ||
[Test] | ||
public void LoadedGetSetTest() | ||
{ | ||
var model = new AdvancedProjectModel | ||
{ | ||
Loaded = true | ||
}; | ||
|
||
Assert.IsTrue(model.Loaded); | ||
} | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
EasyEplanner.Tests/InterprojectExchange.Test/TestData/mock_script.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
function init_io_file (projecrt_name) | ||
-- do nothing | ||
return 0 | ||
end |
6 changes: 6 additions & 0 deletions
6
EasyEplanner.Tests/InterprojectExchange.Test/TestData/project/main.io.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
PAC_name = '' | ||
PAC_id = '' | ||
|
||
nodes = { } | ||
|
||
devices = { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters