public void StringFormatTest() { Time2 strgFormat = new Time2(20, 35, 59); string strgFormatCopy = "20:35:59"; Assert.AreEqual(strgFormatCopy, strgFormat.ToUniversalString()); }
public void NegativeToStringTest2() { Time2 strgFormat = new Time2(13, 35, 59); string strgFormatCopy = "13:35:59 AM"; Assert.AreNotEqual(strgFormatCopy, strgFormat.ToUniversalString()); }