示例#1
0
        public void TestMax()
        {
            Assert.AreEqual(1, FinMath.Max(0, 1));
            Assert.AreEqual(1, FinMath.Max(1, 0));

            Assert.AreEqual(2L, FinMath.Max(1L, 2L));

            Assert.AreEqual(.234, FinMath.Max(.123, .234));

            Assert.AreEqual(0x02, FinMath.Max(0x01, 0x02));
        }