namespace Solution { using NUnit.Framework; using System; [TestFixture] public class SolutionTest { [Test] public void MyTest() { Sum sum = new Sum(); Assert.AreEqual(19, sum.GetSum(9, 10)); Assert.AreEqual(21, sum.GetSum(11, 10)); Assert.AreEqual(4294967292, sum.GetSum(2147483646, 2147483646)); } } }
- namespace Solution {
- using NUnit.Framework;
- using System;
- [TestFixture]
- public class SolutionTest
- {
- [Test]
- public void MyTest()
- {
- Sum sum = new Sum();
- Assert.AreEqual(19, sum.GetSum(9, 10));
Assert.AreEqual(21, sum.GetSum(11, 10));- Assert.AreEqual(21, sum.GetSum(11, 10));
- Assert.AreEqual(4294967292, sum.GetSum(2147483646, 2147483646));
- }
- }
- }