public void PathRadiusOffset() { for (sbyte i = sbyte.MinValue; i < sbyte.MaxValue; i++) { float floatValue = PrimObject.PathRadiusOffsetFloat(i); sbyte result = PrimObject.PathRadiusOffsetByte(floatValue); Assert.IsTrue(result == i, "Started with " + i + ", float value was " + floatValue + ", and ended up with " + result); } }