public void Division_returns_divider2_of_given_values() { // arrage var math = new Matematyka(); // act var result = math.Division(10, 2); // assert Assert.Equal(5, result); }
public void Multiply_returns_multiplycasion_of_given_values() { // arrage var math = new Matematyka(); // act var result = math.Multiply(5, 5); // assert Assert.Equal(25, result); }
public void Add2_returns_sum_of_given_values() { // arrage var math = new Matematyka(); // act var result = math.Add(10, 100); // assert Assert.Equal(110, result); }
public void Substract_returns_quotient_of_given_values() { // arrage var math = new Matematyka(); // act var result = math.Substract(5, 20); // assert Assert.Equal(-15, result); }
public void TheoryExample(double x, double y, double expected) { // arrage var math = new Matematyka(); // act var result = math.Add(x, y); // assert Assert.Equal(expected, result); }