public void AssertThatSolverReturnsNoMove(int[] heaps) { // Arrange // Act var actual = NextMove.Solve(heaps); // Assert actual.Should().BeNull(); }
public void AssertThatSolverReturnsWinningMove(int[] heaps, int heap, int number) { // Arrange var expected = new Move(heap: heap, number: number); // Act var actual = NextMove.Solve(heaps); // Assert actual.Should().BeEquivalentTo(expected); }
public void AssertThatNullHeapsThrowAnException() { NextMove.Solve(null); }