Exemple #1
0
        public void TestLog()
        {
            var x       = 16;
            var newBase = 3;

            var actual   = mathFunc.Log(x, newBase);
            var expected = System.Math.Log(x, newBase);

            Assert.AreEqual(expected, actual, 0.01);
        }