3 test("toggle(Function, Function) - add toggle event and fake a few clicks", function() {
6 fn1 = function() { count++; },
7 fn2 = function() { count--; },
9 link.click().toggle(fn1, fn2).click().click().click().click().click();
10 ok( count == 1, "Check for toggle(fn, fn)" );