Exemple #1
0
        public void PathEnd()
        {
            for (byte i = 0; i < byte.MaxValue; i++)
            {
                float floatValue = PrimObject.PathEndFloat(i);
                byte  result     = PrimObject.PathEndByte(floatValue);

                Assert.IsTrue(result == i, "Started with " + i + ", float value was " + floatValue +
                              ", and ended up with " + result);
            }
        }