Exemplo n.º 1
0
        public void Flatten()
        {
            // Arrage
            float Pitch = .1f;
            float Yaw   = .2f;
            float Roll  = .3f;

            var rotator = new Rotator(Pitch, Yaw, Roll);

            // Act
            float[] result = rotator.Flatten().ToArray();

            // Assert
            CollectionAssert.AreEqual(result, new float[] { Pitch, Yaw, Roll });
        }