ZZCOVTST.m 876 B

123456789101112131415161718192021222324252627282930313233343536
  1. ZZCOVTST;OSEHRA/JPS -- Test routine for Coverage Parsing;4/28/2014
  2. ; (tab) This is series of comments
  3. ; (tab) it should all be not executable
  4. ; (spaces) one of these sets might be a problem
  5. ; (spaces) we will have to see.
  6. EN ; This entry point shouldn't be found without fixing
  7. N D
  8. S D=1 ;An executable line
  9. D T1^ZZCOVTST
  10. I '$$T5 W "RETURNED FROM t5",!
  11. Q
  12. ; This line not executable
  13. ;
  14. T1 ; This line should always be found
  15. N D
  16. S D=2
  17. W !,D,!,"This is the second entry point",!
  18. D T2^ZZCOVTST(D)
  19. Q
  20. ;
  21. T2(EQ) ; This is debatable and only called with ENT^ROU notation
  22. N D
  23. S D=3
  24. W !,D,!,EQ,"This is the third entry point",!
  25. D T3^ZZCOVTST
  26. Q
  27. ;
  28. T3 N D S D=4 W D,!,"Fourth Entry point",! Q
  29. ;
  30. T4 N D S D=5 W "Shouldn't be executed"
  31. W "Lots to not do"
  32. Q
  33. T5(EQ) ;this entry point is called with a $$ notation
  34. W "THIS IS THE $$ NOTATION!",!
  35. Q 0
  36. ;