Пример #1
0
        public void CubedDoubleTest()
        {
            Calculator4 calculator = new Calculator4();

            double c = calculator.CubedValue(b);

            Assert.AreEqual(15.625, c);
            Assert.AreEqual(15.625, calculator.result);
        }
Пример #2
0
        public void CubedTest()
        {
            Calculator4 calculator = new Calculator4();

            int c = calculator.CubedValue(a);

            Assert.AreEqual(27, c);
            Assert.AreEqual(27, calculator.result);
        }