コード例 #1
0
ファイル: MyMathTest.cs プロジェクト: temka93/Calc
            public void TestAddNegative()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(45, math.Sub(10, 20));
            }
コード例 #2
0
ファイル: MyMathTest.cs プロジェクト: temka93/Calc
            public void TestSubPositive()
            {
                MyMath math = new MyMath();

                Assert.AreEqual(-10, math.Sub(10, 20));
            }