package fib; import java.io.PrintWriter; import java.math.BigInteger; /** * Testing the Computer class. * * @author Samuel Rebelsky, modified by Angeline Namai. * @version 1.0 of October 2004 */ public class TestComputer { public static void main(String[] args) throws Exception { PrintWriter pen = new PrintWriter(System.out, true); Computer c = new Computer(); // Test fib(int n) for (int n = 50; n <= 60; n++) { BigInteger result = c.fib(n); pen.println("fib(" + n + ") = " + result); } } // main(String[]) } // class TestComputer