public void FindAbsolute1(int value)
        {
            int expected = value;

            int result = absoluteNumberCalculator.FindAbsolute(value);

            Assert.AreEqual(expected, result);
        }
Exemplo n.º 2
0
        public void TestFindAbsolute0()
        {
            int number = 0;
            int expect = 0;
            int result = _absoluteNumberCalculator.FindAbsolute(number);

            Assert.AreEqual(expect, result);
        }
Exemplo n.º 3
0
 public void TestAbsolute()
 {
     Assert.AreEqual(4, number.FindAbsolute(-4));
 }