예제 #1
0
        static void Main(string[] args)
        {
            Math _m = new Math();

            Console.Write(_m.add(3, 4));
            Console.ReadLine();
        }
예제 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     TestGit.Math math = new TestGit.Math();
     Label1.Text = math.add(2, 6).ToString();
 }
예제 #3
0
파일: UnitTest1.cs 프로젝트: mahimanayak/FI
        public void TestMethod2(int a, int b)
        {
            TestGit.Math _m = new TestGit.Math();

            NUnit.Framework.Assert.AreNotEqual(_m.add(a, b), 7);
        }
예제 #4
0
파일: UnitTest1.cs 프로젝트: mahimanayak/FI
        public void TestMethod2(int a, int b)
        {
            TestGit.Math _m = new TestGit.Math();

            NUnit.Framework.Assert.AreNotEqual(_m.add(a, b), 7);
        }
예제 #5
0
 protected void Page_Load(object sender, EventArgs e)
 {
     TestGit.Math math=new TestGit.Math();
     Label1.Text = math.add(2,6).ToString();
 }