예제 #1
0
        public void Last_AsExpected()
        {
            var quarter           = new Quarter(2018, 1);
            var lastMonth         = quarter.Last <Month>();
            var expectedLastMonth = Month.CreateMarch(2018);

            Assert.AreEqual(expectedLastMonth, lastMonth);
        }