feat: solved part 1
This commit is contained in:
@@ -27,4 +27,10 @@
|
||||
<ProjectReference Include="..\CubeConundrum\CubeConundrum.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\INPUT.txt">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace CubeConundrum.Tests;
|
||||
|
||||
public class ProgramTests
|
||||
{
|
||||
[Fact]
|
||||
public async Task Main_GivenInput_ItShouldReturnExpectedSum()
|
||||
{
|
||||
var result = await Program.Main(["INPUT.txt"]);
|
||||
result.Should().Be(2879);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user