public void FoldPaperAlongYaxisCorrectly_WhenUsingSampleInstructions() { var sut = new Origami(SAMPLE_INSTRUCTIONS); sut.FoldAlongY(7); Assert.Equal(17, sut.GetPointCount()); }
public void SolveFirstPuzzle() { var sut = new Origami(REAL_INSTRUCTIONS); sut.FoldAlongX(655); Assert.Equal(751, sut.GetPointCount()); }
public void ParseInstructionsCorrectly(string instructions, int expectedPoints, int expectedFolds) { var sut = new Origami(instructions); Assert.Equal(expectedPoints, sut.GetPointCount()); Assert.Equal(expectedFolds, sut.GetFoldCount()); }