Exemplo n.º 1
0
 public void DiagramAddAndRetrive()
 {
     Diagram test = new Diagram("test.sql");
     didactic_palm_tree.UIModel.IComponent testComponent = new TestComponent(0, 0);
     test.Add(testComponent);
     Assert.AreEqual(test.GetComponent(new Point(0, 0)), testComponent);
 }
Exemplo n.º 2
0
 public void DiagramExists()
 {
         Diagram test = new Diagram("test.sql");
 }
Exemplo n.º 3
0
 public void DiagramAdd()
 {
     Diagram test = new Diagram("test.sql");
     didactic_palm_tree.UIModel.IComponent testComponent = new TestComponent(0, 0);
     test.Add(testComponent);
 }
Exemplo n.º 4
0
 public static Diagram Load(string testSql)
 {
     Diagram diagram = new Diagram("", StaticComponents[testSql]);
     return diagram;
 }