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

            c.Month month = new c.Month(int.MinValue);

            Assert.AreEqual(expected, month.ToString());
        }
Ejemplo n.º 2
0
        public void MonthToStringReturnsExpectedString()
        {
            const string expected = "2003-12";

            c.Month month = new c.Month(47);

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