public void WorksForLowName() { WriteSpeedType lowSpeed = Week3.WriteSpeed("tuti", 10); Assert.AreEqual(lowSpeed, WriteSpeedType.SLOW); }
public void WorksForFastName() { WriteSpeedType fastSpeed = Week3.WriteSpeed("pepe", 1); Assert.AreEqual(WriteSpeedType.FAST, fastSpeed); }
public void WorksForRegularName() { WriteSpeedType regularSpeed = Week3.WriteSpeed("made", 2); Assert.AreEqual(regularSpeed, WriteSpeedType.REGULAR); }
public void FailsWithIncorrectValues() { var result = Week3.WriteSpeed("1", 4); }