Advertisement
Guest User

111

a guest
Sep 16th, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1. //test the countArgs method
  2.     boolean testCountArgs(Tester t) {
  3.         return t.checkExpect(cellB4.item.countArgs(), 5) &&
  4.                 t.checkExpect(cellD2.item.countArgs(), 2);
  5.  
  6.     }
  7.     //test the countFuns method18
  8.     boolean testCountFuns(Tester t) {
  9.         return t.checkExpect(cellB4.item.countFuns(), 4) &&
  10.                 t.checkExpect(cellD2.item.countFuns(), 1);
  11.  
  12.     }
  13.     //test the formulaDepth method
  14.     boolean testFormulaDepth(Tester t) {
  15.         return t.checkExpect(cellB4.item.formulaDepth(), 3) &&
  16.                 t.checkExpect(cellD2.item.formulaDepth(), 0);
  17.  
  18.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement