Newer
Older
zweic / tests / 2 / hardCore.txt.zwei
@glproj03 glproj03 on 24 Nov 2005 1 KB added eyers testfiles
  1. class hardcoreZwei extends hardcore_Eins {
  2.  
  3. Int variableA ;
  4. Null whatGoodIsItFor ;
  5. letsFaceTheMusic andDance ;
  6.  
  7. Int strangersInTheNight(FRIEND Rachel, FRIEND Ross) {
  8. while (
  9. if ( Rachel != Ross)
  10. Chandler
  11. else
  12. (Joey + Pheobe) *
  13. -David +
  14. { Null Monica = Gunther ;
  15. return Ursula
  16. }
  17. <= true || false
  18. ) {
  19. printChar(
  20. if (
  21. new centralPerk(-readInt).couch(
  22. { fabric leather = true;
  23. return "Smelly Cat"
  24. }
  25. )
  26. )
  27. true.Janice.moves(BingsHouse.neighboring()) !=
  28. Janice.isMarried() ||
  29. !Chandler.isInLoveWith(
  30. !new Marriage("Monica").isInLoveWith(Richard)
  31. )
  32. else (
  33. { return Mona <= Emi//
  34. -ly/London_1999 }
  35. )
  36. ) ;
  37. }
  38.  
  39. Int babyfootScore = if (chandler.score() + joey.score() <=
  40. monica.score()) {return ross.score} ;
  41. }
  42. }
  43.  
  44. class CSI_Lab extends CSI {
  45.  
  46. Leader Grissom ;
  47. Investigator Nick ;
  48. Investigator Sara ;
  49. Investigator Warrick ;
  50. Supervisor Catherine ;
  51.  
  52. Null solveCrime(List evidence) {
  53. evidence.getFingerprints.sendTo(
  54. { if (CSI.getLevel(Nick) <= CSI.getLevel(Sara))
  55. expr
  56. else
  57. { return Ecklie } != -readChar ;
  58. } );
  59. }
  60.  
  61. }
  62.  
  63. {
  64. if ( CSI.duration() != FRIENDS.duration())
  65. -{ CSI.duration() - FRIENDS.startTime ;
  66. return false
  67. } <=
  68. readInt.print( {} + "minutes" )
  69. else
  70. {} != !a ;
  71.  
  72. printChar({return prison} != "maison" && a * 31415926 * r);
  73.  
  74. return int
  75. }