public void ConvertToNum_CheckForNumber_InvalidString() { PingPong testPingPong = new PingPong(); Assert.AreEqual(-1, testPingPong.ConvertToNum("Invalid input")); }
public void ConvertToNum_CheckForPosNumber_InvalidNumber() { PingPong testPingPong = new PingPong(); Assert.AreEqual(-1, testPingPong.ConvertToNum("-7")); }
public void ConvertToNum_CheckForNumber_Number() { PingPong testPingPong = new PingPong(); Assert.AreEqual(4, testPingPong.ConvertToNum("4")); }