Beispiel #1
0
        public void addTestLongEvenNumbers3()
        {
            long x   = 2L;
            long y   = 0L;
            long sum = 2L;

            long res = new Math.Add().add(x, y);

            Assert.AreEqual(sum, res);
        }
Beispiel #2
0
        public void addTestEvenNumbers3()
        {
            int x   = 2;
            int y   = 0;
            int sum = 2;

            int res = new Math.Add().add(x, y);

            Assert.AreEqual(sum, res);
        }