Guest User

Untitled

a guest
Jan 12th, 2013
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. logprint("Starting tests...");
  2. logprint("Testing Spawn constructors...");
  3. local a = Spawn.new(10,10);
  4. local b = Spawn.new(point.new(20,20));
  5. local c = Spawn.new(point.new(30,30), 1);
  6. logprint("Testing SpeedZone constructors...");
  7. local d = SpeedZone.new(point.new(40,40));
  8. local e = SpeedZone.new(point.new(50,50), 10);
  9. logprint("Testing SpyBug constructor...");
  10. local f = SpyBugItem.new(point.new(60,60), 0);
  11. logprint("Testing Teleporter constructor...");
  12. local g = Teleporter.new(point.new(70,70));
  13. logprint("Testing TextItem constructor...");
  14. local h = TextItem.new(point.new(80,80));
  15. logprint("Testing Turret constructor...");
  16. local i = Turret.new(point.new(90,90));
  17. logprint("Testing WallItem constructor...");
  18. local j = WallItem.new(point.new(100,100));
  19. logprint("Testing Zone constructor...");
  20. local k = Zone.new(point.new(110,110));
  21. logprint("Tests complete.");
Advertisement
Add Comment
Please, Sign In to add comment