public void Max_WhenCalled_ReturnsMaximumdouble(double double1, double double2, double double3, double max) { var genericMaximum = new GenericMaximum <double>(double1, double2, double3); var result = genericMaximum.Max(); Assert.That(result, Is.EqualTo(max)); }
public void Max_WhenCalled_ReturnsMaxString(string string1, string string2, string string3, string max) { var genericMaximum = new GenericMaximum <string>(string1, string2, string3); var result = genericMaximum.Max(); Assert.That(result, Is.EqualTo(max)); }
public void Max_WhenCalled_ReturnsMaximumInterger(int integer1, int integer2, int integer3, int max) { var genericMaximum = new GenericMaximum <int>(integer1, integer2, integer3); var result = genericMaximum.Max(); Assert.That(result, Is.EqualTo(max)); }