Example #1
0
 public void NodeCanBeInstantiated()
 {
     ScratchGraphing.BaseNode <int> newbie = new ScratchGraphing.BaseNode <int>(5);
     Assert.Equal(5, newbie.val);
 }
Example #2
0
 public void NodeCanHoldAString()
 {
     ScratchGraphing.BaseNode <string> newbie = new ScratchGraphing.BaseNode <string>("thing");
     Assert.Equal("thing", newbie.val);
 }