Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //test the countArgs method
- boolean testCountArgs(Tester t) {
- return t.checkExpect(cellB4.item.countArgs(), 5) &&
- t.checkExpect(cellD2.item.countArgs(), 2);
- }
- //test the countFuns method18
- boolean testCountFuns(Tester t) {
- return t.checkExpect(cellB4.item.countFuns(), 4) &&
- t.checkExpect(cellD2.item.countFuns(), 1);
- }
- //test the formulaDepth method
- boolean testFormulaDepth(Tester t) {
- return t.checkExpect(cellB4.item.formulaDepth(), 3) &&
- t.checkExpect(cellD2.item.formulaDepth(), 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement