/* TestSkiJumper.java * CS207-2 Homework 7 Fall 2018 * This class has main() and tests the implementation of SkiJumper.java. * Do not make changes to this class. */ public class TestSkiJumper { public static void main( String[] args ) { // Create a new Ski Jumper SkiJumper sk1 = new SkiJumper( "John Smith" ); sk1.train(5.2); sk1.jump(); sk1.train(3.2); sk1.jump(); sk1.data(); // Create another new Ski Jumper SkiJumper sk2 = new SkiJumper( "Jenny Adam" ); sk2.train(7.3); sk2.jump(); sk2.data(); System.out.println(sk2.equals(sk1)); sk2.jump(); System.out.println(sk2.equals(sk1)); } }