Ejemplo n.º 1
0
        public void TestCreateCell(Spreadsheet.CellType type, Type expected)
        {
            Cell cell = Spreadsheet.CreateCell(type, 0, 0);

            Assert.AreEqual(expected, cell.GetType());
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Form1"/> class.
 /// </summary>
 public Form1()
 {
     this.InitializeComponent();
     this.engine = new Cpts321.Spreadsheet(50, 26);
 }
Ejemplo n.º 3
0
 public void Setup()
 {
     this.sheet = new Spreadsheet(2, 2);
     this.cells = (Cell[, ])Utility.GetField <Spreadsheet>("cells").GetValue(this.sheet);
 }