Пример #1
0
        public void TestForRounding()
        {
            EContext ctx;

            ctx = EContext.ForRounding(ERounding.HalfEven);
            Assert.AreEqual(ERounding.HalfEven, ctx.Rounding);
            ctx = EContext.ForRounding(ERounding.HalfUp);
            Assert.AreEqual(ERounding.HalfUp, ctx.Rounding);
        }