示例#1
0
        public void digit_the_number_100()
        {
            string expect = "..." + "._." + "._." + "\r\n" +
                            "..|" + "|.|" + "|.|" + "\r\n" +
                            "..|" + "|_|" + "|_|" + "\r\n";

            Assert.That(LCDDigits.getDigits(100), Is.EqualTo(expect));
        }
示例#2
0
        public void digit_the_number_1()
        {
            string expect = "..." + "\r\n" +
                            "..|" + "\r\n" +
                            "..|" + "\r\n";

            Assert.That(LCDDigits.GetDigits(1), Is.EqualTo(expect));
        }