public void GetDirectDependentsTest5() { Spreadsheet_Accessor target = new Spreadsheet_Accessor(); // TODO: Initialize to an appropriate value List<string> expected = new List<string>(); string name = "A022"; // target.SetContentsOfCell("A02", 4); IEnumerable<string> actual = target.GetDirectDependents(name); }
public void GetDirectDependentsTest2() { Spreadsheet_Accessor target = new Spreadsheet_Accessor(); List<string> expected = new List<string>(); IEnumerable<string> actual = target.GetDirectDependents("A1"); CollectionAssert.AreEqual(expected, new List<string>(actual)); }
public void GetDirectDependentsTest3() { Spreadsheet_Accessor target = new Spreadsheet_Accessor(); // TODO: Initialize to an appropriate value List<string> expected = new List<string>(); string nullName = null; IEnumerable<string> actual = target.GetDirectDependents(nullName); CollectionAssert.AreEqual(expected, new List<string>(actual)); }
public void GetDirectDependentsTest1() { Spreadsheet_Accessor target = new Spreadsheet_Accessor(); // TODO: Initialize to an appropriate value target.SetContentsOfCell("A1", "3"); target.SetContentsOfCell("B1", "=A1 * A1"); target.SetContentsOfCell("C1", "= B1 + A1"); target.SetContentsOfCell("D1", "= B1 - C1"); List<string> expected = new List<string>(); expected.Add("B1"); expected.Add("C1"); IEnumerable<string> actual = target.GetDirectDependents("A1"); CollectionAssert.AreEqual(expected, new List<string>(actual)); }
public void myLookupTest() { Spreadsheet_Accessor target = new Spreadsheet_Accessor(); // TODO: Initialize to an appropriate value string name = "a1"; // TODO: Initialize to an appropriate value // double expected = 0F; // TODO: Initialize to an appropriate value double actual; actual = target.myLookup(name); }
public void myEvaluateTest() { Spreadsheet_Accessor target = new Spreadsheet_Accessor(); // TODO: Initialize to an appropriate value string name = string.Empty; // TODO: Initialize to an appropriate value object expected = null; // TODO: Initialize to an appropriate value object actual; actual = target.myEvaluate(name); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void GetDirectDependentsNullTest() { Spreadsheet_Accessor target = new Spreadsheet_Accessor(); string name=null; target.GetDirectDependents(name); }
public void GetDirectDependentsInvalidName() { Spreadsheet_Accessor target = new Spreadsheet_Accessor(); target.GetDirectDependents("a0a"); }