Package tests

Source Code of tests.Visitor_Test

package tests;

import elements.Car;
import visitors.CarElementBreakInvariantVisistor;
import visitors.CarElementCheckInvariantVisitor;
import visitors.CarElementPrintVisitor;

public class Visitor_Test {
 
     public static void main(String[] args){
       Car car = new Car();
      car.accept(new CarElementPrintVisitor());
      car.accept(new CarElementCheckInvariantVisitor());
     
      //Break
      car.accept(new CarElementBreakInvariantVisistor());
      car.accept(new CarElementCheckInvariantVisitor());
    }
}
TOP

Related Classes of tests.Visitor_Test

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.