예제 #1
0
        public void DivisionWithDifferentExponents()
        {
            Exponential a, b, c, d, expected;

            a        = new Exponential("10.0");
            b        = Exponential.Exact("60");
            c        = a / b;
            d        = c / b; // divide twice by 60
            expected = new Exponential("2.8e-3");
            Assert.True(d.Approximates(expected));
        }