コード例 #1
0
ファイル: TestFigure.cs プロジェクト: silvfoxy/teach-ann
 public void NextRotation_When_RotationNumber_Is_3_Should_Reset_To_0()
 {
     var figure = new Figure();
     figure.RotationNumber = 3;
     figure.NextRotation();
     figure.RotationNumber.Should().Be(0);
 }
コード例 #2
0
        public void NextRotation_Should_Increment_RotationNumber()
        {
            var figure = new Figure();

            figure.NextRotation();
            figure.RotationNumber.Should().Be(1);
        }
コード例 #3
0
        public void NextRotation_When_RotationNumber_Is_3_Should_Reset_To_0()
        {
            var figure = new Figure();

            figure.RotationNumber = 3;
            figure.NextRotation();
            figure.RotationNumber.Should().Be(0);
        }
コード例 #4
0
ファイル: TestFigure.cs プロジェクト: silvfoxy/teach-ann
 public void NextRotation_Should_Increment_RotationNumber()
 {
     var figure = new Figure();
     figure.NextRotation();
     figure.RotationNumber.Should().Be(1);
 }