package rebelsky.exam2; import rebelsky.io.Pen; /** * Test our cool Fibonacci computation. */ public class TestFib { public static void main(String[] args) { // Build a pen with which to write. Pen pen = new Pen(); // Create a Fibonacci computer Fib helper = new Fib(); // Get the value to use as input to fib. int n = Integer.parseInt(args[0]); helper.resetCalls(); pen.println("Fibonacci number " + n + " equals " + helper.badfib(n)); pen.println(" That took: " + helper.getCalls() + " function calls."); } // main(String[]) } // class TestFib