Exemplo n.º 1
0
        public void TestGetCellContents4()
        {
            TestableSpreadsheet sheet = new TestableSpreadsheet();

            sheet.SetCellContents("a2", 2.5);
            Assert.AreEqual(2.5, sheet.GetCellContents("a2"));
        }
Exemplo n.º 2
0
        public void TestGetCellContents5()
        {
            TestableSpreadsheet sheet = new TestableSpreadsheet();

            sheet.SetCellContents("a2", "2+5+x41+y23");
            Assert.AreEqual(new Formulas.Formula("2+5+x41+y23").ToString(), sheet.GetCellContents("a2"));
        }
Exemplo n.º 3
0
        public void TestGetCellContents3()
        {
            TestableSpreadsheet sheet = new TestableSpreadsheet();

            sheet.SetCellContents("a2", "testing");
            Assert.AreEqual("testing", sheet.GetCellContents("a2"));
        }