public void Divide_returns_sum_of_given_values() { //arrange var math = new Matma(); //act var result = math.Multiply(20, 10); //assert Assert.Equal(200, result); }
// test bad// public void Add_returns_sum_of_given_valuses2() { // arrange var math = new Matma(); // act var result = math.Add(10, 20); // assert Assert.Equal(30, result); }
public void Substract_returns_sum_of_given_valuses() { //arrange var math = new Matma(); //act var result = math.Substract(20, 10); //assert Assert.Equal(10, result); }
public void TheoryExample(double x, double y, double expected) { // arrange var math = new Matma(); // act var result = math.Add(x, y); // assert Assert.Equal(expected, result); }