taddset.pp 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. {****************************************************************}
  2. { CODE GENERATOR TEST PROGRAM }
  3. {****************************************************************}
  4. { NODE TESTED : secondadd() }
  5. {****************************************************************}
  6. { PRE-REQUISITES: secondload() }
  7. { secondassign() }
  8. { secondsetelement() }
  9. {****************************************************************}
  10. { DEFINES: }
  11. { FPC = Target is FreePascal compiler }
  12. {****************************************************************}
  13. { REMARKS: }
  14. { }
  15. { }
  16. { }
  17. {****************************************************************}
  18. Program tneg;
  19. var
  20. Err : boolean;
  21. type
  22. { DO NOT CHANGE THE VALUES OF THESE ENUMERATIONS! }
  23. tsmallenum = (dA,dB,dC,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dop,dp,dq,dr);
  24. tasmop = (A_ABCD,
  25. A_ADD,A_ADDA,A_ADDI,A_ADDQ,A_ADDX,A_AND,A_ANDI,
  26. A_ASL,A_ASR,A_BCC,A_BCS,A_BEQ,A_BGE,A_BGT,A_BHI,
  27. A_BLE,A_BLS,A_BLT,A_BMI,A_BNE,A_BPL,A_BVC,A_BVS,
  28. A_BCHG,A_BCLR,A_BRA,A_BSET,A_BSR,A_BTST,A_CHK,
  29. A_CLR,A_CMP,A_CMPA,A_CMPI,A_CMPM,A_DBCC,A_DBCS,A_DBEQ,A_DBGE,
  30. A_DBGT,A_DBHI,A_DBLE,A_DBLS,A_DBLT,A_DBMI,A_DBNE,A_DBRA,
  31. A_DBPL,A_DBT,A_DBVC,A_DBVS,A_DBF,A_DIVS,A_DIVU,
  32. A_EOR,A_EORI,A_EXG,A_ILLEGAL,A_EXT,A_JMP,A_JSR,
  33. A_LEA,A_LINK,A_LSL,A_LSR,A_MOVE,A_MOVEA,A_MOVEI,A_MOVEQ,
  34. A_MOVEM,A_MOVEP,A_MULS,A_MULU,A_NBCD,A_NEG,A_NEGX,
  35. A_NOP,A_NOT,A_OR,A_ORI,A_PEA,A_ROL,A_ROR,A_ROXL,
  36. A_ROXR,A_RTR,A_RTS,A_SBCD,A_SCC,A_SCS,A_SEQ,A_SGE,
  37. A_SGT,A_SHI,A_SLE,A_SLS,A_SLT,A_SMI,A_SNE,
  38. A_SPL,A_ST,A_SVC,A_SVS,A_SF,A_SUB,A_SUBA,A_SUBI,A_SUBQ,
  39. A_SUBX,A_SWAP,A_TAS,A_TRAP,A_TRAPV,A_TST,A_UNLK,
  40. A_RTE,A_RESET,A_STOP,
  41. { MC68010 instructions }
  42. A_BKPT,A_MOVEC,A_MOVES,A_RTD,
  43. { MC68020 instructions }
  44. A_BFCHG,A_BFCLR,A_BFEXTS,A_BFEXTU,A_BFFFO,
  45. A_BFINS,A_BFSET,A_BFTST,A_CALLM,A_CAS,A_CAS2,
  46. A_CHK2,A_CMP2,A_DIVSL,A_DIVUL,A_EXTB,A_PACK,A_RTM,
  47. A_TRAPCC,A_TRACS,A_TRAPEQ,A_TRAPF,A_TRAPGE,A_TRAPGT,
  48. A_TRAPHI,A_TRAPLE,A_TRAPLS,A_TRAPLT,A_TRAPMI,A_TRAPNE,
  49. A_TRAPPL,A_TRAPT,A_TRAPVC,A_TRAPVS,A_UNPK,
  50. { FPU Processor instructions - directly supported only. }
  51. { IEEE aware and misc. condition codes not supported }
  52. A_FABS,A_FADD,
  53. A_FBEQ,A_FBNE,A_FBNGT,A_FBGT,A_FBGE,A_FBNGE,
  54. A_FBLT,A_FBNLT,A_FBLE,A_FBGL,A_FBNGL,A_FBGLE,A_FBNGLE,
  55. A_FDBEQ,A_FDBNE,A_FDBGT,A_FDBNGT,A_FDBGE,A_FDBNGE,
  56. A_FDBLT,A_FDBNLT,A_FDBLE,A_FDBGL,A_FDBNGL,A_FDBGLE,A_FBDNGLE,
  57. A_FSEQ,A_FSNE,A_FSGT,A_FSNGT,A_FSGE,A_FSNGE,
  58. A_FSLT,A_FSNLT,A_FSLE,A_FSGL,A_FSNGL,A_FSGLE,A_FSNGLE,
  59. A_FCMP,A_FDIV,A_FMOVE,A_FMOVEM,
  60. A_FMUL,A_FNEG,A_FNOP,A_FSQRT,A_FSUB,A_FSGLDIV,
  61. A_FSFLMUL,A_FTST,
  62. A_FTRAPEQ,A_FTRAPNE,A_FTRAPGT,A_FTRAPNGT,A_FTRAPGE,A_FTRAPNGE,
  63. A_FTRAPLT,A_FTRAPNLT,A_FTRAPLE,A_FTRAPGL,A_FTRAPNGL,A_FTRAPGLE,A_FTRAPNGLE,
  64. { Protected instructions }
  65. A_CPRESTORE,A_CPSAVE,
  66. { FPU Unit protected instructions }
  67. { and 68030/68851 common MMU instructions }
  68. { (this may include 68040 MMU instructions) }
  69. A_FRESTORE,A_FSAVE,A_PFLUSH,A_PFLUSHA,A_PLOAD,A_PMOVE,A_PTEST,
  70. { Useful for assembly langage output }
  71. A_LABEL,A_NONE);
  72. type
  73. topset = set of tasmop;
  74. tsmallset = set of tsmallenum;
  75. const
  76. { NORMAL SETS }
  77. constset1 : array[1..3] of topset =
  78. (
  79. { 66 } { 210 } { 225 }
  80. ([A_MOVE, { 66 : LONG 2 - BIT 2 }
  81. A_FTST, { 210 : LONG 6 - BIT 18 }
  82. A_CPSAVE]),{ 225 : LONG 7 - BIT 1 }
  83. { 1..8 }
  84. ([A_ADD..A_ASL]),
  85. { 134 }
  86. ([A_CHK2])
  87. );
  88. constset2 : array[1..3] of topset =
  89. (
  90. ([A_MOVE,A_FTST,A_CPSAVE]),
  91. ([A_ADD..A_ASL]),
  92. ([A_CHK2])
  93. );
  94. { SMALL SETS }
  95. constset3 : array[1..3] of tsmallset =
  96. (
  97. ([DA, { 0 : LONG 0 : bit 0 }
  98. DD, { 3 : LONG 0 : bit 3 }
  99. DM]), { 12 : LONG 0 : bit 12 }
  100. ([DB..DI]), { 1..8 : LONG 0 : bits 1-8 }
  101. ([DR]) { 17 : LONG 0 : bit 17 }
  102. );
  103. constset4 : array[1..3] of tsmallset =
  104. (
  105. ([DA,DD,DM]),
  106. ([DB..DI]),
  107. ([DR])
  108. );
  109. procedure CheckPassed(passed:boolean);
  110. begin
  111. if passed then
  112. WriteLn('Success.')
  113. else
  114. begin
  115. WriteLn('Failure.');
  116. Err:=true;
  117. end;
  118. end;
  119. procedure SetTestEqual;
  120. { FPC_SET_COMP_SETS }
  121. var
  122. op2list :set of tasmop;
  123. oplist: set of tasmop;
  124. passed : boolean;
  125. Begin
  126. Write('Normal Set == Normal Set test...');
  127. passed := true;
  128. op2list:=[];
  129. oplist:=[];
  130. if not (oplist=op2list) then
  131. passed := false;
  132. if not (constset1[2] = constset2[2]) then
  133. passed := false;
  134. if (constset1[1] = constset2[2]) then
  135. passed := false;
  136. if not (constset1[1] = [A_MOVE,A_FTST,A_CPSAVE]) then
  137. passed := false;
  138. CheckPassed(passed);
  139. end;
  140. procedure SetTestNotEqual;
  141. { FPC_SET_COMP_SETS }
  142. var
  143. op2list :set of tasmop;
  144. oplist: set of tasmop;
  145. passed : boolean;
  146. Begin
  147. Write('Normal Set <> Normal Set test...');
  148. passed := true;
  149. op2list:=[];
  150. oplist:=[];
  151. if not (oplist=op2list) then
  152. passed := false;
  153. if (constset1[2] <> constset2[2]) then
  154. passed := false;
  155. if not (constset1[1] <> constset2[2]) then
  156. passed := false;
  157. { if ( [A_ADD] <> [A_ADD] ) then optimized out.
  158. passed := false;
  159. if ( [A_BLE..A_BPL] <> [A_BLE..A_BPL] ) then
  160. passed := false; }
  161. if (constset1[1] <> [A_MOVE,A_FTST,A_CPSAVE]) then
  162. passed := false;
  163. CheckPassed(passed);
  164. end;
  165. procedure SetTestLt;
  166. var
  167. op2list :set of tasmop;
  168. oplist: set of tasmop;
  169. passed : boolean;
  170. begin
  171. Write('Normal Set <= Normal Set test...');
  172. passed := true;
  173. if constset1[1] <= constset2[2] then
  174. passed := false;
  175. oplist := [];
  176. op2list := [A_MOVE];
  177. if op2list <= oplist then
  178. passed := false;
  179. oplist := [A_MOVE,A_CPRESTORE..A_CPSAVE];
  180. if oplist <= op2list then
  181. passed := false;
  182. CheckPassed(passed);
  183. end;
  184. Procedure SetTestAddOne;
  185. { FPC_SET_SET_BYTE }
  186. { FPC_SET_ADD_SETS }
  187. var
  188. op : tasmop;
  189. oplist: set of tasmop;
  190. Begin
  191. Write('Set + Set element testing...');
  192. op:=A_LABEL;
  193. oplist:=[];
  194. oplist:=oplist+[op];
  195. CheckPassed(oplist = [A_LABEL]);
  196. end;
  197. Procedure SetTestAddTwo;
  198. { SET_ADD_SETS }
  199. var
  200. op2list :set of tasmop;
  201. oplist: set of tasmop;
  202. Begin
  203. Write('Complex Set + Set element testing...');
  204. op2list:=[];
  205. oplist:=[];
  206. oplist:=[A_MOVE]+[A_JSR];
  207. op2list:=[A_LABEL];
  208. oplist:=op2list+oplist;
  209. CheckPassed(oplist = [A_MOVE,A_JSR,A_LABEL]);
  210. end;
  211. Procedure SetTestSubOne;
  212. { SET_SUB_SETS }
  213. var
  214. op2list :set of tasmop;
  215. oplist: set of tasmop;
  216. op :tasmop;
  217. passed : boolean;
  218. Begin
  219. Write('Set - Set element testing...');
  220. passed := true;
  221. op2list:=[];
  222. oplist:=[];
  223. op := A_TRACS;
  224. oplist:=[A_MOVE]+[A_JSR]+[op];
  225. op2list:=[A_MOVE]+[A_JSR];
  226. oplist:=oplist-op2list;
  227. if oplist <> [A_TRACS] then
  228. passed := false;
  229. oplist:=[A_MOVE]+[A_JSR]+[op];
  230. op2list:=[A_MOVE]+[A_JSR];
  231. oplist:=op2list-oplist;
  232. if oplist <> [] then
  233. passed := false;
  234. CheckPassed(passed);
  235. end;
  236. Procedure SetTestSubTwo;
  237. { FPC_SET_SUB_SETS }
  238. const
  239. b: tasmop = (A_BSR);
  240. var
  241. op2list :set of tasmop;
  242. oplist: set of tasmop;
  243. op : tasmop;
  244. passed : boolean;
  245. Begin
  246. Write('Complex Set - Set element testing...');
  247. op := A_BKPT;
  248. passed := true;
  249. oplist:=[A_MOVE]+[A_JSR]-[op];
  250. op2list:=[A_MOVE]+[A_JSR];
  251. if oplist <> op2list then
  252. passed := false;
  253. oplist := [A_MOVE];
  254. oplist := oplist - [A_MOVE];
  255. if oplist <> [] then
  256. passed := false;
  257. oplist := oplist + [b];
  258. if oplist <> [b] then
  259. passed := false;
  260. oplist := oplist - [b];
  261. if oplist <> [] then
  262. passed := false;
  263. CheckPassed(passed);
  264. end;
  265. Procedure SetTestMulSets;
  266. { FPC_SET_MUL_SETS }
  267. var
  268. op2list :set of tasmop;
  269. oplist: set of tasmop;
  270. passed : boolean;
  271. Begin
  272. passed := true;
  273. Write('Set * Set element testing...');
  274. op2list:=[];
  275. oplist:=[];
  276. oplist:=[A_MOVE]+[A_JSR];
  277. op2list:=[A_MOVE];
  278. oplist:=oplist*op2list;
  279. if oplist <> [A_JSR] then
  280. passed := false;
  281. oplist := [A_MOVE,A_FTST];
  282. op2list := [A_MOVE,A_FTST];
  283. oplist := oplist * op2list;
  284. if oplist <> [A_MOVE,A_FTST] then
  285. passed := false;
  286. CheckPassed(passed);
  287. end;
  288. procedure SetTestRange;
  289. var
  290. op2list :set of tasmop;
  291. oplist: set of tasmop;
  292. passed : boolean;
  293. op1 : tasmop;
  294. op2 : tasmop;
  295. begin
  296. passed := true;
  297. Write('Range Set + element testing...');
  298. op1 := A_ADD;
  299. op2 := A_ASL;
  300. oplist := [];
  301. oplist := [op1..op2];
  302. if oplist <> constset1[2] then
  303. passed := false;
  304. CheckPassed(passed);
  305. end;
  306. procedure SetTestByte;
  307. var
  308. op2list :set of tasmop;
  309. oplist: set of tasmop;
  310. passed : boolean;
  311. op1 : tasmop;
  312. op2 : tasmop;
  313. op : tasmop;
  314. begin
  315. Write('Simple Set + element testing...');
  316. passed := true;
  317. op := A_LABEL;
  318. oplist := [A_MOVE,op,A_JSR];
  319. if oplist <> [A_MOVE,A_LABEL,A_JSR] then
  320. passed := false;
  321. CheckPassed(passed);
  322. end;
  323. {------------------------------ TESTS FOR SMALL VALUES ---------------------}
  324. procedure SmallSetTestEqual;
  325. var
  326. op2list :set of tsmallenum;
  327. oplist: set of tsmallenum;
  328. passed : boolean;
  329. Begin
  330. Write('Small Set == Small Set test...');
  331. passed := true;
  332. op2list:=[];
  333. oplist:=[];
  334. if not (oplist=op2list) then
  335. passed := false;
  336. if not (constset3[2] = constset4[2]) then
  337. passed := false;
  338. if (constset3[1] = constset4[2]) then
  339. passed := false;
  340. if not (constset3[1] = [DA,DD,DM]) then
  341. passed := false;
  342. CheckPassed(passed);
  343. end;
  344. procedure SmallSetTestNotEqual;
  345. var
  346. op2list :set of tsmallenum;
  347. oplist: set of tsmallenum;
  348. passed : boolean;
  349. Begin
  350. Write('Small Set <> Small Set test...');
  351. passed := true;
  352. op2list:=[];
  353. oplist:=[];
  354. if not (oplist=op2list) then
  355. passed := false;
  356. if (constset3[2] <> constset4[2]) then
  357. passed := false;
  358. if not (constset3[1] <> constset4[2]) then
  359. passed := false;
  360. { if ( [A_ADD] <> [A_ADD] ) then optimized out.
  361. passed := false;
  362. if ( [A_BLE..A_BPL] <> [A_BLE..A_BPL] ) then
  363. passed := false; }
  364. if (constset3[1] <> [DA,DD,DM]) then
  365. passed := false;
  366. CheckPassed(passed);
  367. end;
  368. procedure SmallSetTestLt;
  369. var
  370. op2list :set of tsmallenum;
  371. oplist: set of tsmallenum;
  372. passed : boolean;
  373. begin
  374. Write('Small Set <= Small Set test...');
  375. passed := true;
  376. if constset3[1] <= constset4[2] then
  377. passed := false;
  378. oplist := [];
  379. op2list := [DC];
  380. if op2list <= oplist then
  381. passed := false;
  382. oplist := [DC,DF..DM];
  383. if oplist <= op2list then
  384. passed := false;
  385. CheckPassed(passed);
  386. end;
  387. Procedure SmallSetTestAddOne;
  388. var
  389. op : tsmallenum;
  390. oplist: set of tsmallenum;
  391. Begin
  392. Write('Small Set + Small Set element testing...');
  393. op:=DG;
  394. oplist:=[];
  395. oplist:=oplist+[op];
  396. CheckPassed( oplist = [DG] );
  397. end;
  398. Procedure SmallSetTestAddTwo;
  399. var
  400. op2list :set of tsmallenum;
  401. oplist: set of tsmallenum;
  402. Begin
  403. Write('Small Complex Set + Small Set element testing...');
  404. op2list:=[];
  405. oplist:=[];
  406. oplist:=[DG]+[DI];
  407. op2list:=[DM];
  408. oplist:=op2list+oplist;
  409. CheckPassed( oplist = [DG,DI,DM] );
  410. end;
  411. Procedure SmallSetTestSubOne;
  412. var
  413. op2list :set of tsmallenum;
  414. oplist: set of tsmallenum;
  415. op :tsmallenum;
  416. passed : boolean;
  417. Begin
  418. Write('Small Set - Small Set element testing...');
  419. passed := true;
  420. op2list:=[];
  421. oplist:=[];
  422. op := DL;
  423. oplist:=[DG]+[DI]+[op];
  424. op2list:=[DG]+[DI];
  425. oplist:=oplist-op2list;
  426. if oplist <> [DL] then
  427. passed := false;
  428. oplist:=[DG]+[DI]+[op];
  429. op2list:=[DG]+[DI];
  430. oplist:=op2list-oplist;
  431. if oplist <> [] then
  432. passed := false;
  433. CheckPassed(passed);
  434. end;
  435. Procedure SmallSetTestSubTwo;
  436. const
  437. b: tsmallenum = (DH);
  438. var
  439. op2list :set of tsmallenum;
  440. oplist: set of tsmallenum;
  441. op : tsmallenum;
  442. passed : boolean;
  443. Begin
  444. Write('Small Complex Set - Small Set element testing...');
  445. op := DL;
  446. passed := true;
  447. oplist:=[DG]+[DI]-[op];
  448. op2list:=[DG]+[DI];
  449. if oplist <> op2list then
  450. passed := false;
  451. oplist := [DG];
  452. oplist := oplist - [DG];
  453. if oplist <> [] then
  454. passed := false;
  455. oplist := oplist + [b];
  456. if oplist <> [b] then
  457. passed := false;
  458. oplist := oplist - [b];
  459. if oplist <> [] then
  460. passed := false;
  461. CheckPassed(passed);
  462. end;
  463. Procedure SmallSetTestMulSets;
  464. var
  465. op2list : set of tsmallenum;
  466. oplist: set of tsmallenum;
  467. passed : boolean;
  468. Begin
  469. passed := true;
  470. Write('Small Set * Small Set element testing...');
  471. op2list:=[];
  472. oplist:=[];
  473. oplist:=[DG]+[DI];
  474. op2list:=[DG];
  475. oplist:=oplist*op2list;
  476. if oplist <> [DI] then
  477. passed := false;
  478. oplist := [DG,DK];
  479. op2list := [DG,DK];
  480. oplist := oplist * op2list;
  481. if oplist <> [DG,DK] then
  482. passed := false;
  483. CheckPassed(passed);
  484. end;
  485. procedure SmallSetTestRange;
  486. var
  487. op2list :set of tsmallenum;
  488. oplist: set of tsmallenum;
  489. passed : boolean;
  490. op1 : tsmallenum;
  491. op2 : tsmallenum;
  492. begin
  493. passed := true;
  494. Write('Small Range Set + element testing...');
  495. op1 := DB;
  496. op2 := DI;
  497. oplist := [];
  498. oplist := [op1..op2];
  499. if oplist <> constset3[2] then
  500. passed := false;
  501. CheckPassed(passed);
  502. end;
  503. procedure SmallSetTestByte;
  504. var
  505. op2list : set of tsmallenum;
  506. oplist: set of tsmallenum;
  507. passed : boolean;
  508. op1 : tsmallenum;
  509. op2 : tsmallenum;
  510. op : tsmallenum;
  511. begin
  512. Write('Small Simple Set + element testing...');
  513. passed := true;
  514. op := DD;
  515. oplist := [DG,op,DI];
  516. if oplist <> [DG,DD,DI] then
  517. passed := false;
  518. CheckPassed(passed);
  519. end;
  520. (*
  521. const
  522. b: myenum = (dA);
  523. var
  524. enum: set of myenum;
  525. oplist: set of tasmop;
  526. l : word;
  527. Begin
  528. SetTestEqual;
  529. SetTestNotEqual;
  530. { small sets }
  531. enum:=[];
  532. { add }
  533. enum:=enum+[da];
  534. { subtract }
  535. enum:=enum-[da];
  536. if DA in enum then
  537. WriteLn('Found A_LABEL');
  538. { very large sets }
  539. { copy loop test }
  540. WRITELN('LARGE SETS:');
  541. oplist := [A_LABEL];
  542. { secondin test }
  543. if A_LABEL in oplist then
  544. WriteLn('TESTING SIMPLE SECOND_IN: PASSED.');
  545. { }
  546. oplist:=[];
  547. if A_LABEL in oplist then
  548. WriteLn('SECOND IN FAILED.');
  549. { SecondinSets;}
  550. SetSetByte;
  551. SetAddSets;
  552. SetSubSets;
  553. SetCompSets;
  554. SetMulSets;
  555. WRITELN('SMALL SETS:');
  556. SmallInSets;
  557. SmallAddSets;
  558. SmallSubSets;
  559. SmallCompSets;
  560. SmallMulSets;
  561. l:=word(A_CPRESTORE);
  562. if l = word(A_CPRESTORE) then
  563. Begin
  564. end;
  565. *)
  566. Begin
  567. WriteLn('----------------------- Normal sets -----------------------');
  568. { Normal sets }
  569. SetTestEqual;
  570. SetTestNotEqual;
  571. SetTestAddOne;
  572. SetTestAddTwo;
  573. SetTestSubOne;
  574. SetTestSubTwo;
  575. SetTestRange;
  576. SetTestLt;
  577. SetTestByte;
  578. { Small sets }
  579. WriteLn('----------------------- Small sets -----------------------');
  580. SmallSetTestEqual;
  581. SmallSetTestNotEqual;
  582. SmallSetTestAddOne;
  583. SmallSetTestAddTwo;
  584. SmallSetTestSubOne;
  585. SmallSetTestSubTwo;
  586. SmallSetTestRange;
  587. SmallSetTestLt;
  588. SmallSetTestByte;
  589. if Err then
  590. Halt(1);
  591. end.
  592. {
  593. $Log$
  594. Revision 1.4 2001-10-20 17:26:13 peter
  595. * several fixes to run also with kylix
  596. Revision 1.3 2001/06/24 22:30:19 carl
  597. + completed small set tests
  598. Revision 1.2 2001/06/22 02:24:40 carl
  599. + complete normal set tests
  600. Revision 1.1 2001/06/21 02:50:44 carl
  601. cgadd node testing for sets (incomplete)
  602. }