public void ShouldNot_ChangeCommand(CommandDay8b command) { Assert.Throws <Exception>(() => command.ChangeCommand()); }
public void Should_FindCommandThatCauseInfiniteLoopData(List <CommandDay8> commands, CommandDay8b expected) { var solver = new PuzzleSolverDay8(); var result = solver.FindCommandThatCauseInfiniteLoopData(commands); result.Should().BeEquivalentTo(expected); }
public void Should_ChangeCommand(CommandDay8b command, CommandDay8b expected) { command.ChangeCommand(); command.Should().BeEquivalentTo(expected); }