home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stlpt453.zip / STLport-4.5.3 / test / regression / single.cpp < prev    next >
C/C++ Source or Header  |  2000-12-07  |  11KB  |  476 lines

  1. // STLport regression testsuite component.
  2. // To compile as a separate example, please #define MAIN.
  3. #include "stl_test.h"
  4. #include "accum1.cpp"
  5. #include "accum2.cpp"
  6. #include "adjdiff0.cpp"
  7. #include "adjdiff1.cpp"
  8. #include "adjdiff2.cpp"
  9. #include "adjfind0.cpp"
  10. #include "adjfind1.cpp"
  11. #include "adjfind2.cpp"
  12. #include "advance.cpp"
  13. #include "alg1.cpp"
  14. #include "alg2.cpp"
  15. #include "alg3.cpp"
  16. #include "alg4.cpp"
  17. #include "alg5.cpp"
  18. #include "bcompos1.cpp"
  19. #include "bcompos2.cpp"
  20. #include "bind1st1.cpp"
  21. #include "bind1st2.cpp"
  22. #include "bind2nd1.cpp"
  23. #include "bind2nd2.cpp"
  24. #include "binsert1.cpp"
  25. #include "binsert2.cpp"
  26. #include "binsrch1.cpp"
  27. #include "binsrch2.cpp"
  28. #include "bnegate1.cpp"
  29. #include "bnegate2.cpp"
  30. #include "bvec1.cpp"
  31. #include "copy1.cpp"
  32. #include "copy2.cpp"
  33. #include "copy3.cpp"
  34. #include "copy4.cpp"
  35. #include "copyb.cpp"
  36. #include "copyb0.cpp"
  37. #include "count0.cpp"
  38. #include "count1.cpp"
  39. #include "countif1.cpp"
  40. #include "deque1.cpp"
  41. #include "divides.cpp"
  42. #include "eqlrnge0.cpp"
  43. #include "eqlrnge1.cpp"
  44. #include "eqlrnge2.cpp"
  45. #include "equal0.cpp"
  46. #include "equal1.cpp"
  47. #include "equal2.cpp"
  48. #include "equalto.cpp"
  49. #include "error1.cpp"
  50. #include "fill1.cpp"
  51. #include "filln1.cpp"
  52. #include "find0.cpp"
  53. #include "find1.cpp"
  54. #include "findif0.cpp"
  55. #include "findif1.cpp"
  56. #include "finsert1.cpp"
  57. #include "finsert2.cpp"
  58. #include "foreach0.cpp"
  59. #include "foreach1.cpp"
  60. #include "func1.cpp"
  61. #include "func2.cpp"
  62. #include "func3.cpp"
  63. #include "gener1.cpp"
  64. #include "gener2.cpp"
  65. #include "genern1.cpp"
  66. #include "genern2.cpp"
  67. #include "greateq.cpp"
  68. #include "greater.cpp"
  69. #include "incl0.cpp"
  70. #include "incl1.cpp"
  71. #include "incl2.cpp"
  72. #include "inplmrg1.cpp"
  73. #include "inplmrg2.cpp"
  74. #include "inrprod0.cpp"
  75. #include "inrprod1.cpp"
  76. #include "inrprod2.cpp"
  77. #include "insert1.cpp"
  78. #include "insert2.cpp"
  79. #include "iota1.cpp"
  80. #include "istmit1.cpp"
  81. #include "iter1.cpp"
  82. #include "iter2.cpp"
  83. #include "iter3.cpp"
  84. #include "iter4.cpp"
  85. #include "iterswp0.cpp"
  86. #include "iterswp1.cpp"
  87. #include "less.cpp"
  88. #include "lesseq.cpp"
  89. #include "lexcmp1.cpp"
  90. #include "lexcmp2.cpp"
  91. #include "list1.cpp"
  92. #include "list2.cpp"
  93. #include "list3.cpp"
  94. #include "list4.cpp"
  95. #include "logicand.cpp"
  96. #include "logicnot.cpp"
  97. #include "logicor.cpp"
  98. #include "lwrbnd1.cpp"
  99. #include "lwrbnd2.cpp"
  100. #include "map1.cpp"
  101. #include "max1.cpp"
  102. #include "max2.cpp"
  103. #include "maxelem1.cpp"
  104. #include "maxelem2.cpp"
  105. #include "merge0.cpp"
  106. #include "merge1.cpp"
  107. #include "merge2.cpp"
  108. #include "min1.cpp"
  109. #include "min2.cpp"
  110. #include "minelem1.cpp"
  111. #include "minelem2.cpp"
  112. #include "minus.cpp"
  113. #include "mismtch0.cpp"
  114. #include "mismtch1.cpp"
  115. #include "mismtch2.cpp"
  116. #include "mkheap0.cpp"
  117. #include "mkheap1.cpp"
  118. #include "mmap1.cpp"
  119. #include "mmap2.cpp"
  120. #include "modulus.cpp"
  121. #include "mset1.cpp"
  122. #include "mset3.cpp"
  123. #include "mset4.cpp"
  124. #include "mset5.cpp"
  125. #include "negate.cpp"
  126. #include "nequal.cpp"
  127. #include "nextprm0.cpp"
  128. #include "nextprm1.cpp"
  129. #include "nextprm2.cpp"
  130. #include "nthelem0.cpp"
  131. #include "nthelem1.cpp"
  132. #include "nthelem2.cpp"
  133. #include "ostmit.cpp"
  134. #include "pair0.cpp"
  135. #include "pair1.cpp"
  136. #include "pair2.cpp"
  137. #include "parsrt0.cpp"
  138. #include "parsrt1.cpp"
  139. #include "parsrt2.cpp"
  140. #include "parsrtc0.cpp"
  141. #include "parsrtc1.cpp"
  142. #include "parsrtc2.cpp"
  143. #include "partsrt0.cpp"
  144. #include "partsum0.cpp"
  145. #include "partsum1.cpp"
  146. #include "partsum2.cpp"
  147. #include "pheap1.cpp"
  148. #include "pheap2.cpp"
  149. #include "plus.cpp"
  150. #include "pqueue1.cpp"
  151. #include "prevprm0.cpp"
  152. #include "prevprm1.cpp"
  153. #include "prevprm2.cpp"
  154. #include "ptition0.cpp"
  155. #include "ptition1.cpp"
  156. #include "ptrbinf1.cpp"
  157. #include "ptrbinf2.cpp"
  158. #include "ptrunf1.cpp"
  159. #include "ptrunf2.cpp"
  160. #include "queue1.cpp"
  161. #include "rawiter.cpp"
  162. #include "remcopy1.cpp"
  163. #include "remcpif1.cpp"
  164. #include "remif1.cpp"
  165. #include "remove1.cpp"
  166. #include "repcpif1.cpp"
  167. #include "replace0.cpp"
  168. #include "replace1.cpp"
  169. #include "replcpy1.cpp"
  170. #include "replif1.cpp"
  171. #include "revbit1.cpp"
  172. #include "revbit2.cpp"
  173. #include "revcopy1.cpp"
  174. #include "reverse1.cpp"
  175. #include "reviter1.cpp"
  176. #include "reviter2.cpp"
  177. #include "rndshuf0.cpp"
  178. #include "rndshuf1.cpp"
  179. #include "rndshuf2.cpp"
  180. #include "rotate0.cpp"
  181. #include "rotate1.cpp"
  182. #include "rotcopy0.cpp"
  183. #include "rotcopy1.cpp"
  184. #include "search0.cpp"
  185. #include "search1.cpp"
  186. #include "search2.cpp"
  187. #include "set1.cpp"
  188. #include "set2.cpp"
  189. #include "setdiff0.cpp"
  190. #include "setdiff1.cpp"
  191. #include "setdiff2.cpp"
  192. #include "setintr0.cpp"
  193. #include "setintr1.cpp"
  194. #include "setintr2.cpp"
  195. #include "setsymd0.cpp"
  196. #include "setsymd1.cpp"
  197. #include "setsymd2.cpp"
  198. #include "setunon0.cpp"
  199. #include "setunon1.cpp"
  200. #include "setunon2.cpp"
  201. #include "single.cpp"
  202. #include "sort1.cpp"
  203. #include "sort2.cpp"
  204. #include "stack1.cpp"
  205. #include "stack2.cpp"
  206. #include "stat.cpp"
  207. #include "stblptn0.cpp"
  208. #include "stblptn1.cpp"
  209. #include "stblsrt1.cpp"
  210. #include "stblsrt2.cpp"
  211. #include "swap1.cpp"
  212. #include "swprnge1.cpp"
  213. #include "times.cpp"
  214. #include "trnsfrm1.cpp"
  215. #include "trnsfrm2.cpp"
  216. #include "ucompos1.cpp"
  217. #include "ucompos2.cpp"
  218. #include "unegate1.cpp"
  219. #include "unegate2.cpp"
  220. #include "uniqcpy1.cpp"
  221. #include "uniqcpy2.cpp"
  222. #include "unique1.cpp"
  223. #include "unique2.cpp"
  224. #include "uprbnd1.cpp"
  225. #include "uprbnd2.cpp"
  226. #include "vec1.cpp"
  227. #include "vec2.cpp"
  228. #include "vec3.cpp"
  229. #include "vec4.cpp"
  230. #include "vec5.cpp"
  231. #include "vec6.cpp"
  232. #include "vec7.cpp"
  233. #include "vec8.cpp"
  234. #include "stl_test.h"
  235. #ifdef MAIN 
  236. #define single_test main
  237. #endif
  238.  
  239. #if !defined (STLPORT) || defined(__STL_USE_NAMESPACES)
  240. using namespace std;
  241. #endif
  242. int single_test(int, char**)
  243. {
  244.   cout<<"Results of single_test:"<<endl;
  245. int main(int argc, char** argv) {
  246. accum1_test(argc, argv);
  247. accum2_test(argc, argv);
  248. adjdiff0_test(argc, argv);
  249. adjdiff1_test(argc, argv);
  250. adjdiff2_test(argc, argv);
  251. adjfind0_test(argc, argv);
  252. adjfind1_test(argc, argv);
  253. adjfind2_test(argc, argv);
  254. advance_test(argc, argv);
  255. alg1_test(argc, argv);
  256. alg2_test(argc, argv);
  257. alg3_test(argc, argv);
  258. alg4_test(argc, argv);
  259. alg5_test(argc, argv);
  260. bcompos1_test(argc, argv);
  261. bcompos2_test(argc, argv);
  262. bind1st1_test(argc, argv);
  263. bind1st2_test(argc, argv);
  264. bind2nd1_test(argc, argv);
  265. bind2nd2_test(argc, argv);
  266. binsert1_test(argc, argv);
  267. binsert2_test(argc, argv);
  268. binsrch1_test(argc, argv);
  269. binsrch2_test(argc, argv);
  270. bnegate1_test(argc, argv);
  271. bnegate2_test(argc, argv);
  272. bvec1_test(argc, argv);
  273. copy1_test(argc, argv);
  274. copy2_test(argc, argv);
  275. copy3_test(argc, argv);
  276. copy4_test(argc, argv);
  277. copyb_test(argc, argv);
  278. copyb0_test(argc, argv);
  279. count0_test(argc, argv);
  280. count1_test(argc, argv);
  281. countif1_test(argc, argv);
  282. deque1_test(argc, argv);
  283. divides_test(argc, argv);
  284. eqlrnge0_test(argc, argv);
  285. eqlrnge1_test(argc, argv);
  286. eqlrnge2_test(argc, argv);
  287. equal0_test(argc, argv);
  288. equal1_test(argc, argv);
  289. equal2_test(argc, argv);
  290. equalto_test(argc, argv);
  291. error1_test(argc, argv);
  292. fill1_test(argc, argv);
  293. filln1_test(argc, argv);
  294. find0_test(argc, argv);
  295. find1_test(argc, argv);
  296. findif0_test(argc, argv);
  297. findif1_test(argc, argv);
  298. finsert1_test(argc, argv);
  299. finsert2_test(argc, argv);
  300. foreach0_test(argc, argv);
  301. foreach1_test(argc, argv);
  302. func1_test(argc, argv);
  303. func2_test(argc, argv);
  304. func3_test(argc, argv);
  305. gener1_test(argc, argv);
  306. gener2_test(argc, argv);
  307. genern1_test(argc, argv);
  308. genern2_test(argc, argv);
  309. greateq_test(argc, argv);
  310. greater_test(argc, argv);
  311. incl0_test(argc, argv);
  312. incl1_test(argc, argv);
  313. incl2_test(argc, argv);
  314. inplmrg1_test(argc, argv);
  315. inplmrg2_test(argc, argv);
  316. inrprod0_test(argc, argv);
  317. inrprod1_test(argc, argv);
  318. inrprod2_test(argc, argv);
  319. insert1_test(argc, argv);
  320. insert2_test(argc, argv);
  321. iota1_test(argc, argv);
  322. istmit1_test(argc, argv);
  323. iter1_test(argc, argv);
  324. iter2_test(argc, argv);
  325. iter3_test(argc, argv);
  326. iter4_test(argc, argv);
  327. iterswp0_test(argc, argv);
  328. iterswp1_test(argc, argv);
  329. less_test(argc, argv);
  330. lesseq_test(argc, argv);
  331. lexcmp1_test(argc, argv);
  332. lexcmp2_test(argc, argv);
  333. list1_test(argc, argv);
  334. list2_test(argc, argv);
  335. list3_test(argc, argv);
  336. list4_test(argc, argv);
  337. logicand_test(argc, argv);
  338. logicnot_test(argc, argv);
  339. logicor_test(argc, argv);
  340. lwrbnd1_test(argc, argv);
  341. lwrbnd2_test(argc, argv);
  342. map1_test(argc, argv);
  343. max1_test(argc, argv);
  344. max2_test(argc, argv);
  345. maxelem1_test(argc, argv);
  346. maxelem2_test(argc, argv);
  347. merge0_test(argc, argv);
  348. merge1_test(argc, argv);
  349. merge2_test(argc, argv);
  350. min1_test(argc, argv);
  351. min2_test(argc, argv);
  352. minelem1_test(argc, argv);
  353. minelem2_test(argc, argv);
  354. minus_test(argc, argv);
  355. mismtch0_test(argc, argv);
  356. mismtch1_test(argc, argv);
  357. mismtch2_test(argc, argv);
  358. mkheap0_test(argc, argv);
  359. mkheap1_test(argc, argv);
  360. mmap1_test(argc, argv);
  361. mmap2_test(argc, argv);
  362. modulus_test(argc, argv);
  363. mset1_test(argc, argv);
  364. mset3_test(argc, argv);
  365. mset4_test(argc, argv);
  366. mset5_test(argc, argv);
  367. negate_test(argc, argv);
  368. nequal_test(argc, argv);
  369. nextprm0_test(argc, argv);
  370. nextprm1_test(argc, argv);
  371. nextprm2_test(argc, argv);
  372. nthelem0_test(argc, argv);
  373. nthelem1_test(argc, argv);
  374. nthelem2_test(argc, argv);
  375. ostmit_test(argc, argv);
  376. pair0_test(argc, argv);
  377. pair1_test(argc, argv);
  378. pair2_test(argc, argv);
  379. parsrt0_test(argc, argv);
  380. parsrt1_test(argc, argv);
  381. parsrt2_test(argc, argv);
  382. parsrtc0_test(argc, argv);
  383. parsrtc1_test(argc, argv);
  384. parsrtc2_test(argc, argv);
  385. partsrt0_test(argc, argv);
  386. partsum0_test(argc, argv);
  387. partsum1_test(argc, argv);
  388. partsum2_test(argc, argv);
  389. pheap1_test(argc, argv);
  390. pheap2_test(argc, argv);
  391. plus_test(argc, argv);
  392. pqueue1_test(argc, argv);
  393. prevprm0_test(argc, argv);
  394. prevprm1_test(argc, argv);
  395. prevprm2_test(argc, argv);
  396. ptition0_test(argc, argv);
  397. ptition1_test(argc, argv);
  398. ptrbinf1_test(argc, argv);
  399. ptrbinf2_test(argc, argv);
  400. ptrunf1_test(argc, argv);
  401. ptrunf2_test(argc, argv);
  402. queue1_test(argc, argv);
  403. rawiter_test(argc, argv);
  404. remcopy1_test(argc, argv);
  405. remcpif1_test(argc, argv);
  406. remif1_test(argc, argv);
  407. remove1_test(argc, argv);
  408. repcpif1_test(argc, argv);
  409. replace0_test(argc, argv);
  410. replace1_test(argc, argv);
  411. replcpy1_test(argc, argv);
  412. replif1_test(argc, argv);
  413. revbit1_test(argc, argv);
  414. revbit2_test(argc, argv);
  415. revcopy1_test(argc, argv);
  416. reverse1_test(argc, argv);
  417. reviter1_test(argc, argv);
  418. reviter2_test(argc, argv);
  419. rndshuf0_test(argc, argv);
  420. rndshuf1_test(argc, argv);
  421. rndshuf2_test(argc, argv);
  422. rotate0_test(argc, argv);
  423. rotate1_test(argc, argv);
  424. rotcopy0_test(argc, argv);
  425. rotcopy1_test(argc, argv);
  426. search0_test(argc, argv);
  427. search1_test(argc, argv);
  428. search2_test(argc, argv);
  429. set1_test(argc, argv);
  430. set2_test(argc, argv);
  431. setdiff0_test(argc, argv);
  432. setdiff1_test(argc, argv);
  433. setdiff2_test(argc, argv);
  434. setintr0_test(argc, argv);
  435. setintr1_test(argc, argv);
  436. setintr2_test(argc, argv);
  437. setsymd0_test(argc, argv);
  438. setsymd1_test(argc, argv);
  439. setsymd2_test(argc, argv);
  440. setunon0_test(argc, argv);
  441. setunon1_test(argc, argv);
  442. setunon2_test(argc, argv);
  443. sort1_test(argc, argv);
  444. sort2_test(argc, argv);
  445. stack1_test(argc, argv);
  446. stack2_test(argc, argv);
  447. stat_test(argc, argv);
  448. stblptn0_test(argc, argv);
  449. stblptn1_test(argc, argv);
  450. stblsrt1_test(argc, argv);
  451. stblsrt2_test(argc, argv);
  452. swap1_test(argc, argv);
  453. swprnge1_test(argc, argv);
  454. times_test(argc, argv);
  455. trnsfrm1_test(argc, argv);
  456. trnsfrm2_test(argc, argv);
  457. ucompos1_test(argc, argv);
  458. ucompos2_test(argc, argv);
  459. unegate1_test(argc, argv);
  460. unegate2_test(argc, argv);
  461. uniqcpy1_test(argc, argv);
  462. uniqcpy2_test(argc, argv);
  463. unique1_test(argc, argv);
  464. unique2_test(argc, argv);
  465. uprbnd1_test(argc, argv);
  466. uprbnd2_test(argc, argv);
  467. vec1_test(argc, argv);
  468. vec2_test(argc, argv);
  469. vec3_test(argc, argv);
  470. vec4_test(argc, argv);
  471. vec5_test(argc, argv);
  472. vec6_test(argc, argv);
  473. vec7_test(argc, argv);
  474. vec8_test(argc, argv);
  475. }
  476.