Fundamentals
Fundamentals
public static class Kata
{
public static int Add(this int a, int b) => a + b;
}
namespace Solution
{
using NUnit.Framework;
using System;
[TestFixture]
public class SolutionTest
{
[Test]
public void MyTest()
{
Assert.AreEqual(4, 1.Add(3));
Assert.AreEqual(4, 2.Add(2));
}
}
}