diff --git a/Makefile b/Makefile index a65d55f..5e6402f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ test: + dotnet build src/DotTiled.sln dotnet test src/DotTiled.sln docs-serve: diff --git a/src/DotTiled.Benchmark/Program.cs b/src/DotTiled.Benchmark/Program.cs index 55c04cf..e04c6b1 100644 --- a/src/DotTiled.Benchmark/Program.cs +++ b/src/DotTiled.Benchmark/Program.cs @@ -39,7 +39,7 @@ namespace MyBenchmarks [BenchmarkCategory("MapFromInMemoryTmxString")] [Benchmark(Baseline = true, Description = "DotTiled")] - public DotTiled.Model LoadWithDotTiledFromInMemoryTmxString() + public DotTiled.Model.Map LoadWithDotTiledFromInMemoryTmxString() { using var stringReader = new StringReader(_tmxContents); using var xmlReader = XmlReader.Create(stringReader); @@ -49,7 +49,7 @@ namespace MyBenchmarks [BenchmarkCategory("MapFromInMemoryTmjString")] [Benchmark(Baseline = true, Description = "DotTiled")] - public DotTiled.Model LoadWithDotTiledFromInMemoryTmjString() + public DotTiled.Model.Map LoadWithDotTiledFromInMemoryTmjString() { using var mapReader = new DotTiled.Serialization.Tmj.TmjMapReader(_tmjContents, _ => throw new Exception(), _ => throw new Exception(), []); return mapReader.ReadMap();