mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-09 00:16:02 +03:00
Tmx reader is now a base abstract class
This commit is contained in:
parent
eda3fbe308
commit
11f1ef783e
25 changed files with 1059 additions and 960 deletions
|
@ -45,4 +45,14 @@ public static partial class DotTiledAssert
|
|||
AssertEqual(expected.PropertyType, actual.PropertyType, "ClassProperty.PropertyType");
|
||||
AssertProperties(expected.Value, actual.Value);
|
||||
}
|
||||
|
||||
private static void AssertProperty(EnumProperty expected, EnumProperty actual)
|
||||
{
|
||||
AssertEqual(expected.PropertyType, actual.PropertyType, "EnumProperty.PropertyType");
|
||||
AssertEqual(expected.Value.Count, actual.Value.Count, "EnumProperty.Value.Count");
|
||||
foreach (var value in expected.Value)
|
||||
{
|
||||
Assert.Contains(actual.Value, v => v == value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue