public void Array_Mit_Negativen_Zahlen() { var sut = new FindeMinimum(); var maximum = sut.Execute(new[] { -5, -4, -3, -2, -1 }); Assert.AreEqual(maximum, -5); }
public void Gleiche_Zahlen_Im_Array() { var sut = new FindeMinimum(); var maximum = sut.Execute(new[] { 8, 8, 8 }); Assert.AreEqual(maximum, 8); }
public void Ein_Wert_Im_Array() { var sut = new FindeMinimum(); var maximum = sut.Execute(new[] { 7 }); Assert.AreEqual(maximum, 7); }
public void Umgedrehtes_Array() { var sut = new FindeMinimum(); var maximum = sut.Execute(new[] { 5, 4, 3, 2, 1 }); Assert.AreEqual(maximum, 1); }
public void Einfaches_Array() { var sut = new FindeMinimum(); var maximum = sut.Execute(new[] { 1, 2, 3, 4, 5 }); Assert.AreEqual(maximum, 1); }