Ejemplo n.º 1
0
 public void T()
 {
     Assert.Throws <ArgumentNullException>(() => AMPMTo24hConverter.Convert(null));
     Assert.Throws <ArgumentNullException>(() => AMPMTo24hConverter.Convert(string.Empty));
 }
Ejemplo n.º 2
0
 public void T(string input, int expected)
 {
     Assert.AreEqual(expected, AMPMTo24hConverter.Convert(input));
 }