Ejemplo n.º 1
0
        public void MinuteToStringReturnsExpectedStringForMinInt32()
        {
            const string expected = "";

            c.Minute minute = new c.Minute(int.MinValue);

            Assert.AreEqual(expected, minute.ToString());
        }
Ejemplo n.º 2
0
        public void MinuteToStringReturnsExpectedString()
        {
            const string expected = "00:47";

            c.Minute minute = new c.Minute(47);

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