public void SolveSecondPuzzle() { var sut = new Origami(REAL_INSTRUCTIONS); sut.FoldAccordingToInstructions(); Assert.Equal(@"###...##..#..#.###..#..#.#....#..#.#.... #..#.#..#.#..#.#..#.#.#..#....#.#..#.... #..#.#....####.#..#.##...#....##...#.... ###..#.##.#..#.###..#.#..#....#.#..#.... #....#..#.#..#.#.#..#.#..#....#.#..#.... #.....###.#..#.#..#.#..#.####.#..#.####.", sut.PlotPoints()); }
public void PlotPointsCorrectly() { var sut = new Origami(SAMPLE_INSTRUCTIONS); sut.FoldAccordingToInstructions(); Assert.Equal(@"##### #...# #...# #...# ##### ..... .....", sut.PlotPoints()); }