예제 #1
0
        public void TestMethod5()
        {
            //Arrange
            int    num      = 12948;
            string expected = "12,948";
            //Act
            string actual = Challenge109.FormatNum(num);

            //Assert
            Assert.AreEqual(actual, expected);
        }
예제 #2
0
        public void TestMethod2()
        {
            //Arrange
            int    num      = 1000000;
            string expected = "1,000,000";
            //Act
            string actual = Challenge109.FormatNum(num);

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