Пример #1
0
        public void TestCreateRowNumberThreeWithSizeSeven()
        {
            MyDiamond.DiamondShape myDiamond = new MyDiamond.DiamondShape(7);
            string expected = " ***** ";
            string actual;

            actual = myDiamond.CreateRow(3);

            Assert.Equal(expected, actual);
        }
Пример #2
0
        public void TestCreateRow()
        {
            MyDiamond.DiamondShape myDiamond = new MyDiamond.DiamondShape(3);
            string expected = " * ";
            string actual;

            actual = myDiamond.CreateRow(1);

            Assert.Equal(expected, actual);
        }