diff --git a/01/Trebuchet.Tests/GlobalUsings.cs b/01/Trebuchet.Tests/GlobalUsings.cs
index 7fef4b0..2d5b473 100644
--- a/01/Trebuchet.Tests/GlobalUsings.cs
+++ b/01/Trebuchet.Tests/GlobalUsings.cs
@@ -1,2 +1,3 @@
+global using FluentAssertions;
+
global using Xunit;
-global using FluentAssertions;
\ No newline at end of file
diff --git a/01/Trebuchet.Tests/PartTwoPuzzleSolverTests.cs b/01/Trebuchet.Tests/PartTwoPuzzleSolverTests.cs
index 3854d4f..3e7cd26 100644
--- a/01/Trebuchet.Tests/PartTwoPuzzleSolverTests.cs
+++ b/01/Trebuchet.Tests/PartTwoPuzzleSolverTests.cs
@@ -36,6 +36,6 @@ public class PartTwoPuzzleSolverTests
{
var input = await File.ReadAllLinesAsync("INPUT.txt");
var result = _sut.SumCalibrationValues(input);
- result.Should().BeLessThan(54249);
+ result.Should().Be(54249);
}
}
\ No newline at end of file
diff --git a/02/CubeConundrum.Tests/CubeConundrum.Tests.csproj b/02/CubeConundrum.Tests/CubeConundrum.Tests.csproj
new file mode 100644
index 0000000..26a27fd
--- /dev/null
+++ b/02/CubeConundrum.Tests/CubeConundrum.Tests.csproj
@@ -0,0 +1,36 @@
+
+
+
+ net8.0
+ enable
+ enable
+
+ false
+ true
+
+
+
+
+
+
+
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+ all
+
+
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+ all
+
+
+
+
+
+
+
+
+
+ PreserveNewest
+
+
+
+
diff --git a/02/CubeConundrum.Tests/GameTests.cs b/02/CubeConundrum.Tests/GameTests.cs
new file mode 100644
index 0000000..a3f8843
--- /dev/null
+++ b/02/CubeConundrum.Tests/GameTests.cs
@@ -0,0 +1,52 @@
+namespace CubeConundrum.Tests;
+
+public class GameTests
+{
+ [Theory, MemberData(nameof(TestData.Games), MemberType = typeof(TestData))]
+ public void PowerOfMinimumCubesNeeded_GivenAGame_ItShouldReturnTheSumOfTheMinimumCubesNeededForEachResult(Game game, int expected)
+ {
+ game.PowerOfMinimumCubesNeeded.Should().Be(expected);
+ }
+
+ public static class TestData
+ {
+ public static readonly IEnumerable