fix unit tests

This commit is contained in:
2022-04-10 13:52:06 +03:00
parent ee11648fc9
commit 210feaa48d
3 changed files with 21 additions and 2 deletions

View File

@@ -4,7 +4,25 @@
<IsPackable>false</IsPackable>
<TargetFrameworks>net452;net462;net472;net48;net5.0;net5.0-windows;net6.0</TargetFrameworks>
<TargetFrameworks>net48;net5.0;net5.0-windows;net6.0;net6.0-windows</TargetFrameworks>
<IsPublishable>False</IsPublishable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net6.0|AnyCPU'">
<WarningLevel>5</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net6.0|AnyCPU'">
<WarningLevel>5</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net5.0-windows|AnyCPU'">
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net5.0-windows|AnyCPU'">
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>

View File

@@ -21,7 +21,7 @@ namespace GoakeTests.MapParser
{
dm4Bytes = File.ReadAllBytes(@"C:\dev\GoakeFlax\Assets\Maps\dm4.map");
aerowalkBytes = File.ReadAllBytes(@"C:\dev\Goake\maps\aerowalk\aerowalk.map");
aerowalkBytes = File.ReadAllBytes(@"C:\dev\GoakeFlax\Assets\Maps\aerowalk.map");
aerowalkRoot = Game.MapParser.Parse(aerowalkBytes);
q1mapBytes = File.ReadAllBytes(@"C:\dev\GoakeFlax\Assets\Maps\cube_q1.map");