The method should multiply parameters (a and b).
I hope that it won't be so difficult.
public class Multiplication
{
public int Multip(int a, int b)
{
return a * b;
}
}
namespace Solution {
using NUnit.Framework;
using System;
[TestFixture]
public class SolutionTest
{
[Test]
public void MyTest()
{
int a = 10;
int b = 5;
int expected = 50;
Multiplication test = new Multiplication();
int actural = test.Multip(a, b);
Assert.AreEqual(expected, actural);
}
}
}