Example #1
0
        public void Calculate()
        {
            TenDegreeX calculator = new TenDegreeX();
            double     result     = calculator.Calculate(2);

            Assert.AreEqual(100, result, 0.001);
        }
Example #2
0
        public void CalculateTest(
            double firstValue,
            double expected)

        {
            var calculator   = new TenDegreeX();
            var actualResult = calculator.Calculate(firstValue);

            Assert.AreEqual(expected, actualResult, 0.001);
        }