20-test.output 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. @@ex @@main1
  2. LINK: Loading
  3. [LNKXCT MAIN1 execution]
  4. Call on Init
  5. AB
  6. 9
  7. 10
  8. 8
  9. 90
  10. 7
  11. 720
  12. 6
  13. 5040
  14. 5
  15. 30240
  16. 4
  17. 151200
  18. 3
  19. 604800
  20. 2
  21. 1814400
  22. 1
  23. 3628800
  24. 3628800
  25. Ctime: 98662 ms, 98662 ms
  26. Ctime: 99412 ms, 750 ms
  27. Ctime: 99450 ms, 38 ms
  28. 7
  29. Ctime: 99913 ms, 463 ms
  30. Quitting
  31. @NEWPAGE()
  32. @@ex @@main2
  33. LINK: Loading
  34. [LNKXCT MAIN2 execution]
  35. Call on Init
  36. StrInf
  37. 55688 55688
  38. Strlen
  39. 51 51
  40. Byte
  41. 0 65 A
  42. 1 97 a
  43. 2 66 B
  44. 3 98 b
  45. 4 67 C
  46. 5 99 c
  47. 6 68 D
  48. 7 100 d
  49. 8 69 E
  50. 9 101 e
  51. 10 70 F
  52. String
  53. AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUnVvWwXxYyZz
  54. "----- Now input characters until #"
  55. 11223344556677
  56. aaaabbbbccddeeffgg
  57. #"----- First Print Called"
  58. 1
  59. ANATOM
  60. (1 . 2)
  61. (AA (B1 . B2 ) . B3 )
  62. (AA (B1 ) )
  63. Quitting
  64. @NEWPAGE()
  65. @@ex @@main3
  66. LINK: Loading
  67. [LNKXCT MAIN3 execution]
  68. Call on Init
  69. "MAIN3: Casetest"
  70. Test case from -1 to 11
  71. Will classify argument
  72. Show for N=-1, expect default case
  73. Show for N=0, expect 0 case
  74. Show for N=1, expect 1,2,3 case
  75. Show for N=2, expect 1,2,3 case
  76. Show for N=3, expect 1,2,3 case
  77. Show for N=4, expect default case
  78. Show for N=5, expect default case
  79. Show for N=6, expect 6 ... 10 case
  80. Show for N=7, expect 6 ... 10 case
  81. Show for N=8, expect 6 ... 10 case
  82. Show for N=9, expect 6 ... 10 case
  83. Show for N=10, expect 6 ... 10 case
  84. Show for N=11, expect default case
  85. Show for N=12, expect default case
  86. "MAIN3: test CONS"
  87. (2 . 1)
  88. (3 2 . 1)
  89. (4 3 2 . 1)
  90. (5 4 3 2 . 1)
  91. (6 5 4 3 2 . 1)
  92. (7 6 5 4 3 2 . 1)
  93. (8 7 6 5 4 3 2 . 1)
  94. (9 8 7 6 5 4 3 2 . 1)
  95. Quitting
  96. @NEWPAGE()
  97. @@ex @@main4
  98. LINK: Loading
  99. [LNKXCT MAIN4 execution]
  100. 1. --- Test EQSTR
  101. ----- For EqStr(AB,AB) T should be T OK ------
  102. ----- For EqStr(AB,AB) T should be T OK ------
  103. ----- For EqStr(AB,Ab) NIL should be NIL OK ------
  104. ----- For EqStr(AB,ABC) NIL should be NIL OK ------
  105. 2. --- Test FindId on existing ID's
  106. Lookup string="A"
  107. Found In LookUpId=65
  108. ----- For FindId(A) A should be A OK ------
  109. Lookup string="AB"
  110. Found In LookUpId=190
  111. ----- For FindId(AB) AB should be AB OK ------
  112. 3. --- Test FindId on new ID, make sure same place
  113. Lookup string="ABC"
  114. Not Found in LookupId
  115. New ID# 192
  116. Lookup string="ABC"
  117. Found In LookUpId=192
  118. ----- For FindId(ABC) ABC should be ABC OK ------
  119. Lookup string="FOO"
  120. Not Found in LookupId
  121. New ID# 193
  122. Lookup string="ABC"
  123. Found In LookUpId=192
  124. ----- For FindId(ABC) again ABC should be ABC OK ------
  125. 4. --- Test RATOM loop. Type various ID's, STRING's and INTEGER's
  126. Move to next part of test by typing the id Q
  127. Inspect printout carefully
  128. NextSymbol =194
  129. 1
  130. Item read= <0:1> 1
  131. "123"Item read= <4:5890> "123"
  132. A
  133. Lookup string="A"
  134. Found In LookUpId=65
  135. Item read= <30:65> A
  136. a
  137. Lookup string="a"
  138. Found In LookUpId=97
  139. Item read= <30:97> a
  140. AA
  141. Lookup string="AA"
  142. Not Found in LookupId
  143. New ID# 194
  144. Item read= <30:194> AA
  145. aa
  146. Lookup string="aa"
  147. Not Found in LookupId
  148. New ID# 195
  149. Item read= <30:195> aa
  150. abc
  151. Lookup string="abc"
  152. Not Found in LookupId
  153. New ID# 196
  154. Item read= <30:196> abc
  155. ABC
  156. Lookup string="ABC"
  157. Found In LookUpId=192
  158. Item read= <30:192> ABC
  159. abc
  160. Lookup string="abc"
  161. Found In LookUpId=196
  162. Item read= <30:196> abc
  163. Q
  164. Lookup string="Q"
  165. Found In LookUpId=81
  166. Item read= <30:81> Q
  167. 5. --- Test READ loop. Type various S-expressions
  168. Move to next part of test by typing the id Q
  169. Inspect printout carefully
  170. 'A
  171. Item read= <9:5912> (QUOTE A )
  172. (12 '(34) (5 (6))) Item read= <9:5930> (12 (QUOTE (34) ) (5 (6) ) )
  173. Q
  174. Item read= <30:81> Q
  175. Quitting
  176. @NEWPAGE()
  177. @@ex @@main5
  178. LINK: Loading
  179. [LNKXCT MAIN5 execution]
  180. (very) MINI-PSL: A Read-Eval-Print Loop, terminate with Q
  181. 1 lisp> 1
  182. 1
  183. 2 lisp> 'A
  184. A
  185. 3 lisp> (SETQ A 3)
  186. 3
  187. 4 lisp> A
  188. 3
  189. 5 lisp> (PRINT (CONS A A))
  190. (3 . 3)
  191. (3 . 3)
  192. 6 lisp> (QUIT)
  193. Quitting
  194. @NEWPAGE()
  195. @@ex @@main6
  196. LINK: Loading
  197. %LNKFTH Fullword value RESET being truncated to halfword
  198. %LNKMDS Multiply-defined global symbol RESET
  199. Detected in module .MAIN from file DSK:SUB6.REL
  200. Defined value = 104000000147, this value = 163306
  201. [LNKXCT MAIN6 execution]
  202. Test BINDING Primitives
  203. ----- For 3rd bound AA 3 should be 3 OK ------
  204. ----- For 2rd bound AA NIL should be NIL OK ------
  205. ----- For Original AA 1 should be 1 OK ------
  206. MINI-PSL: A Read-Eval-Print Loop, terminate with Q
  207. 1 lisp> (DE FOO (X) (COND ((NULL X) 2) (T 3)))
  208. FOO
  209. 2 lisp> (FOO NIL)
  210. 2
  211. 3 lisp> (FOO 2)
  212. 3
  213. 4 lisp> (DF E (TIM) (TIMEEVAL TIM))
  214. E
  215. 5 lisp> (TESTSETUP)
  216. (SETQ FOO (CADR (QUOTE (1 2 3) ) ) )
  217. 6 lisp> (E EMPTYTEST 10000)
  218. Ctime: 118090 ms, 118090 ms
  219. Ctime: 118127 ms, 37 ms
  220. 37
  221. 7 lisp> (E SLOWEMPTYTEST 10000)
  222. Ctime: 118259 ms, 132 ms
  223. Ctime: 118413 ms, 154 ms
  224. 154
  225. 8 lisp> (E LISTONLYCDRTEST1)
  226. Ctime: 118534 ms, 121 ms
  227. Ctime: 120275 ms, 1741 ms
  228. 1741
  229. 9 lisp> (FUM)
  230. **** Uncompiled function in APPLY: FUM NIL
  231. NIL
  232. 10 lisp> (QUIT)
  233. Quitting