mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-09 02:16:02 +03:00
Further optional improvements, Tmj now supports it too
This commit is contained in:
parent
88a5eadb74
commit
4fd887e7c8
18 changed files with 249 additions and 252 deletions
|
@ -2,7 +2,7 @@ namespace DotTiled.Tests;
|
|||
|
||||
public static partial class DotTiledAssert
|
||||
{
|
||||
internal static void AssertData(Data? expected, Data? actual)
|
||||
internal static void AssertData(Data expected, Data actual)
|
||||
{
|
||||
if (expected is null)
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace DotTiled.Tests;
|
|||
|
||||
public static partial class DotTiledAssert
|
||||
{
|
||||
internal static void AssertImage(Image? expected, Image? actual)
|
||||
internal static void AssertImage(Image expected, Image actual)
|
||||
{
|
||||
if (expected is null)
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace DotTiled.Tests;
|
|||
|
||||
public static partial class DotTiledAssert
|
||||
{
|
||||
internal static void AssertLayer(BaseLayer? expected, BaseLayer? actual)
|
||||
internal static void AssertLayer(BaseLayer expected, BaseLayer actual)
|
||||
{
|
||||
if (expected is null)
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ namespace DotTiled.Tests;
|
|||
|
||||
public static partial class DotTiledAssert
|
||||
{
|
||||
internal static void AssertProperties(IList<IProperty>? expected, IList<IProperty>? actual)
|
||||
internal static void AssertProperties(IList<IProperty> expected, IList<IProperty> actual)
|
||||
{
|
||||
if (expected is null)
|
||||
{
|
||||
|
|
|
@ -43,7 +43,7 @@ public static partial class DotTiledAssert
|
|||
AssertEqual(expected.Y, actual.Y, nameof(TileOffset.Y));
|
||||
}
|
||||
|
||||
private static void AssertGrid(Grid? expected, Grid? actual)
|
||||
private static void AssertGrid(Grid expected, Grid actual)
|
||||
{
|
||||
if (expected is null)
|
||||
{
|
||||
|
@ -86,7 +86,7 @@ public static partial class DotTiledAssert
|
|||
AssertEqual(expected.WangID, actual.WangID, nameof(WangTile.WangID));
|
||||
}
|
||||
|
||||
private static void AssertTransformations(Transformations? expected, Transformations? actual)
|
||||
private static void AssertTransformations(Transformations expected, Transformations actual)
|
||||
{
|
||||
if (expected is null)
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@ namespace DotTiled.Tests;
|
|||
public partial class MapReaderTests
|
||||
{
|
||||
public static IEnumerable<object[]> Maps => TestData.MapTests;
|
||||
[Theory(Skip = "Skipped for now")]
|
||||
[Theory]
|
||||
[MemberData(nameof(Maps))]
|
||||
public void MapReaderReadMap_ValidFilesExternalTilesetsAndTemplates_ReturnsMapThatEqualsExpected(
|
||||
string testDataFile,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue