示例#1
0
        public void TestMethod7()
        {
            //Arrange
            int    year     = 1510;
            string expected = "16th century";
            //Act
            string actual = Challenge111.Century(year);

            //Assert
            Assert.AreEqual(expected, actual);
        }
示例#2
0
        public void TestMethod5()
        {
            //Arrange
            int    year     = 2005;
            string expected = "21st century";
            //Act
            string actual = Challenge111.Century(year);

            //Assert
            Assert.AreEqual(expected, actual);
        }