示例#1
0
        public void KTimespanToStringReturnsExpectedStringForMinInt64()
        {
            const string expected = "";

            c.KTimespan kTimespan = new c.KTimespan(long.MinValue);

            Assert.AreEqual(expected, kTimespan.ToString());
        }
示例#2
0
        public void KTimespanToStringReturnsExpectedString()
        {
            const string expected = "00:00:00.0000047";

            c.KTimespan kTimespan = new c.KTimespan(4700);

            Assert.AreEqual(expected, kTimespan.ToString());
        }