コード例 #1
0
        public void CalculationTest(double value, double answer)
        {
            var    calculator = new Negative();
            double actual     = calculator.calculate(value);

            Assert.AreEqual(answer, actual, 0.001);
        }