Mise à jour du dépôt en fonction du .gitignore
This commit is contained in:
parent
1f0f033fad
commit
4a59748e67
224 changed files with 6785 additions and 0 deletions
23
Test_LandblockExtraction/DatEngineTest/CellEngine_Test.cs
Normal file
23
Test_LandblockExtraction/DatEngineTest/CellEngine_Test.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
using LandblockExtraction.DatEngine;
|
||||
|
||||
namespace Test_LandblockExtraction.DatEngineTest {
|
||||
[TestClass]
|
||||
public class CellEngine_Test {
|
||||
public CellEngine engine;
|
||||
public CellEngine_Test() {
|
||||
engine = new CellEngine();
|
||||
}
|
||||
[TestMethod]
|
||||
public void GetLandBlockData_CorrectlyReturn() {
|
||||
var value = engine.GetLandBlockData(0x0A98FFFF);
|
||||
|
||||
Assert.IsNotNull(value);
|
||||
}
|
||||
[TestMethod]
|
||||
public void GetLandBlockData_BadReturn() {
|
||||
var value = engine.GetLandBlockData(0xFFFFFFFF);
|
||||
|
||||
Assert.IsNull(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue