Пример #1
0
        public void ProfileBegin()
        {
            for (byte i = 0; i < byte.MaxValue; i++)
            {
                float floatValue = PrimObject.ProfileBeginFloat(i);
                byte  result     = PrimObject.ProfileBeginByte(floatValue);

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