public void givenTheNumbers_whenFloatDatatype_returnmaximumNumber() { Generic <float> MaximumValueOfFloat = new Generic <float>(2.6f, 9.5f, 5.6f); Assert.AreEqual(9.5, MaximumValueOfFloat.result); }
public void givenTheNumbers_whenstringDatatype_returnmaximumsizeofstring() { Generic <int> MaximumValueOfString = new Generic <int>("The".Length, "Maximum".Length, "Number".Length); Assert.AreEqual(7, MaximumValueOfString.result); }
public void givenTheNumbers_whenIntegerDatatype_returnmaximumNumber() { Generic <int> MaximumValueOfInteger = new Generic <int>(23, 43, 45); Assert.AreEqual(45, MaximumValueOfInteger.result); }