Exemplo n.º 1
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);
 }
Exemplo n.º 2
0
        public void NextRotation_Should_Increment_RotationNumber()
        {
            var figure = new Figure();

            figure.NextRotation();
            figure.RotationNumber.Should().Be(1);
        }
Exemplo n.º 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);
        }
Exemplo n.º 4
0
 public void NextRotation_Should_Increment_RotationNumber()
 {
     var figure = new Figure();
     figure.NextRotation();
     figure.RotationNumber.Should().Be(1);
 }