Пример #1
0
        public void AddZeroGood()
        {
            TEditor edit     = new TEditor("16,0", 16, 1);
            string  expected = "160,0";
            string  result   = edit.AddZero();

            Assert.AreEqual(expected, result);
        }
Пример #2
0
        public void AddZeroFail()
        {
            TEditor edit     = new TEditor("-16,3", 16, 1);
            string  expected = "-16,3";
            string  result   = edit.AddZero();

            Assert.AreEqual(expected, result);
        }