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

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

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

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