public void ReadNullableTimeSimple_Nullable() { var encoder = new ClassicDecoder(StringToBuffer("01-00-00")); Assert.AreEqual(null, encoder.ReadNullableTimeSimple()); }
public void ReadNullableTimeSimple_1() { var encoder = new ClassicDecoder(StringToBuffer("09-00-01-01-00-00-00-00-00-00-00")); Assert.AreEqual(new TimeSpan(0, 0, 1), encoder.ReadNullableTimeSimple()); }