Skip to content

Instantly share code, notes, and snippets.

@danking
Created September 11, 2010 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danking/574862 to your computer and use it in GitHub Desktop.
Save danking/574862 to your computer and use it in GitHub Desktop.
class MechanicTest < ParameterizedTestCase
@@parameter_parameterized = [["Car", Car.new],
["Bike", Motorcycle.new],
["Truck", Truck.new]]
def ptest_operateOnCar(vehicle)
myMechanic = Mechanic.new
myMechanic.operate(vehicle)
assert !vehicle.broken?
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment