tests: add input file as test case
This commit is contained in:
@@ -27,4 +27,10 @@
|
|||||||
<ProjectReference Include="..\HauntedWasteland\HauntedWasteland.csproj" />
|
<ProjectReference Include="..\HauntedWasteland\HauntedWasteland.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="..\INPUT.txt">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -39,6 +39,11 @@ public class MapTests
|
|||||||
MapInput,
|
MapInput,
|
||||||
2
|
2
|
||||||
},
|
},
|
||||||
|
new object[]
|
||||||
|
{
|
||||||
|
File.ReadAllLines("INPUT.txt"),
|
||||||
|
13019
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
public static IEnumerable<object[]> ParseMapTestData =>
|
public static IEnumerable<object[]> ParseMapTestData =>
|
||||||
|
|||||||
Reference in New Issue
Block a user