console.swa4.approved.txt 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946
  1. Filters: ~[!nonportable]~[!benchmark]~[approvals] *
  2. Randomness seeded to: 1
  3. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. <exe-name> is a Catch2 v<version> host application.
  5. Run with -? for options
  6. -------------------------------------------------------------------------------
  7. # A test name that starts with a #
  8. -------------------------------------------------------------------------------
  9. Misc.tests.cpp:<line number>
  10. ...............................................................................
  11. Misc.tests.cpp:<line number>: PASSED:
  12. with message:
  13. yay
  14. -------------------------------------------------------------------------------
  15. #1027: Bitfields can be captured
  16. -------------------------------------------------------------------------------
  17. Compilation.tests.cpp:<line number>
  18. ...............................................................................
  19. Compilation.tests.cpp:<line number>: PASSED:
  20. REQUIRE( y.v == 0 )
  21. with expansion:
  22. 0 == 0
  23. Compilation.tests.cpp:<line number>: PASSED:
  24. REQUIRE( 0 == y.v )
  25. with expansion:
  26. 0 == 0
  27. -------------------------------------------------------------------------------
  28. #1147
  29. -------------------------------------------------------------------------------
  30. Compilation.tests.cpp:<line number>
  31. ...............................................................................
  32. Compilation.tests.cpp:<line number>: PASSED:
  33. REQUIRE( t1 == t2 )
  34. with expansion:
  35. {?} == {?}
  36. Compilation.tests.cpp:<line number>: PASSED:
  37. REQUIRE( t1 != t2 )
  38. with expansion:
  39. {?} != {?}
  40. Compilation.tests.cpp:<line number>: PASSED:
  41. REQUIRE( t1 < t2 )
  42. with expansion:
  43. {?} < {?}
  44. Compilation.tests.cpp:<line number>: PASSED:
  45. REQUIRE( t1 > t2 )
  46. with expansion:
  47. {?} > {?}
  48. Compilation.tests.cpp:<line number>: PASSED:
  49. REQUIRE( t1 <= t2 )
  50. with expansion:
  51. {?} <= {?}
  52. Compilation.tests.cpp:<line number>: PASSED:
  53. REQUIRE( t1 >= t2 )
  54. with expansion:
  55. {?} >= {?}
  56. -------------------------------------------------------------------------------
  57. #1175 - Hidden Test
  58. -------------------------------------------------------------------------------
  59. Misc.tests.cpp:<line number>
  60. ...............................................................................
  61. Misc.tests.cpp:<line number>: PASSED:
  62. -------------------------------------------------------------------------------
  63. #1238
  64. -------------------------------------------------------------------------------
  65. Compilation.tests.cpp:<line number>
  66. ...............................................................................
  67. Compilation.tests.cpp:<line number>: PASSED:
  68. REQUIRE( std::memcmp(uarr, "123", sizeof(uarr)) == 0 )
  69. with expansion:
  70. 0 == 0
  71. with messages:
  72. uarr := "123"
  73. sarr := "456"
  74. Compilation.tests.cpp:<line number>: PASSED:
  75. REQUIRE( std::memcmp(sarr, "456", sizeof(sarr)) == 0 )
  76. with expansion:
  77. 0 == 0
  78. with messages:
  79. uarr := "123"
  80. sarr := "456"
  81. -------------------------------------------------------------------------------
  82. #1245
  83. -------------------------------------------------------------------------------
  84. Compilation.tests.cpp:<line number>
  85. ...............................................................................
  86. Compilation.tests.cpp:<line number>: PASSED:
  87. -------------------------------------------------------------------------------
  88. #1319: Sections can have description (even if it is not saved
  89. SectionName
  90. -------------------------------------------------------------------------------
  91. Compilation.tests.cpp:<line number>
  92. ...............................................................................
  93. Compilation.tests.cpp:<line number>: PASSED:
  94. -------------------------------------------------------------------------------
  95. #1403
  96. -------------------------------------------------------------------------------
  97. Compilation.tests.cpp:<line number>
  98. ...............................................................................
  99. Compilation.tests.cpp:<line number>: PASSED:
  100. REQUIRE( h1 == h2 )
  101. with expansion:
  102. [1403 helper] == [1403 helper]
  103. -------------------------------------------------------------------------------
  104. #1455 - INFO and WARN can start with a linebreak
  105. -------------------------------------------------------------------------------
  106. Message.tests.cpp:<line number>
  107. ...............................................................................
  108. Message.tests.cpp:<line number>: warning:
  109. This info message starts with a linebreak
  110. This warning message starts with a linebreak
  111. No assertions in test case '#1455 - INFO and WARN can start with a linebreak'
  112. This would not be caught previously
  113. Nor would this
  114. -------------------------------------------------------------------------------
  115. #1514: stderr/stdout is not captured in tests aborted by an exception
  116. -------------------------------------------------------------------------------
  117. Tricky.tests.cpp:<line number>
  118. ...............................................................................
  119. Tricky.tests.cpp:<line number>: FAILED:
  120. explicitly with message:
  121. 1514
  122. -------------------------------------------------------------------------------
  123. #1548
  124. -------------------------------------------------------------------------------
  125. Compilation.tests.cpp:<line number>
  126. ...............................................................................
  127. Compilation.tests.cpp:<line number>: PASSED:
  128. REQUIRE( std::is_same<TypeList<int>, TypeList<int>>::value )
  129. with expansion:
  130. true
  131. -------------------------------------------------------------------------------
  132. #1905 -- test spec parser properly clears internal state between compound tests
  133. -------------------------------------------------------------------------------
  134. CmdLine.tests.cpp:<line number>
  135. ...............................................................................
  136. CmdLine.tests.cpp:<line number>: PASSED:
  137. REQUIRE( spec.matches(*fakeTestCase("spec . char")) )
  138. with expansion:
  139. true
  140. CmdLine.tests.cpp:<line number>: PASSED:
  141. REQUIRE( spec.matches(*fakeTestCase("spec , char")) )
  142. with expansion:
  143. true
  144. CmdLine.tests.cpp:<line number>: PASSED:
  145. REQUIRE_FALSE( spec.matches(*fakeTestCase(R"(spec \, char)")) )
  146. with expansion:
  147. !false
  148. -------------------------------------------------------------------------------
  149. #1912 -- test spec parser handles escaping
  150. Various parentheses
  151. -------------------------------------------------------------------------------
  152. CmdLine.tests.cpp:<line number>
  153. ...............................................................................
  154. CmdLine.tests.cpp:<line number>: PASSED:
  155. REQUIRE( spec.matches(*fakeTestCase(R"(spec {a} char)")) )
  156. with expansion:
  157. true
  158. CmdLine.tests.cpp:<line number>: PASSED:
  159. REQUIRE( spec.matches(*fakeTestCase(R"(spec [a] char)")) )
  160. with expansion:
  161. true
  162. CmdLine.tests.cpp:<line number>: PASSED:
  163. REQUIRE_FALSE( spec.matches(*fakeTestCase("differs but has similar tag", "[a]")) )
  164. with expansion:
  165. !false
  166. -------------------------------------------------------------------------------
  167. #1912 -- test spec parser handles escaping
  168. backslash in test name
  169. -------------------------------------------------------------------------------
  170. CmdLine.tests.cpp:<line number>
  171. ...............................................................................
  172. CmdLine.tests.cpp:<line number>: PASSED:
  173. REQUIRE( spec.matches(*fakeTestCase(R"(spec \ char)")) )
  174. with expansion:
  175. true
  176. -------------------------------------------------------------------------------
  177. #1913 - GENERATE inside a for loop should not keep recreating the generator
  178. -------------------------------------------------------------------------------
  179. Generators.tests.cpp:<line number>
  180. ...............................................................................
  181. Generators.tests.cpp:<line number>: PASSED:
  182. REQUIRE( counter < 7 )
  183. with expansion:
  184. 3 < 7
  185. -------------------------------------------------------------------------------
  186. #1913 - GENERATE inside a for loop should not keep recreating the generator
  187. -------------------------------------------------------------------------------
  188. Generators.tests.cpp:<line number>
  189. ...............................................................................
  190. Generators.tests.cpp:<line number>: PASSED:
  191. REQUIRE( counter < 7 )
  192. with expansion:
  193. 6 < 7
  194. -------------------------------------------------------------------------------
  195. #1913 - GENERATEs can share a line
  196. -------------------------------------------------------------------------------
  197. Generators.tests.cpp:<line number>
  198. ...............................................................................
  199. Generators.tests.cpp:<line number>: PASSED:
  200. REQUIRE( i != j )
  201. with expansion:
  202. 1 != 3
  203. -------------------------------------------------------------------------------
  204. #1913 - GENERATEs can share a line
  205. -------------------------------------------------------------------------------
  206. Generators.tests.cpp:<line number>
  207. ...............................................................................
  208. Generators.tests.cpp:<line number>: PASSED:
  209. REQUIRE( i != j )
  210. with expansion:
  211. 1 != 4
  212. -------------------------------------------------------------------------------
  213. #1913 - GENERATEs can share a line
  214. -------------------------------------------------------------------------------
  215. Generators.tests.cpp:<line number>
  216. ...............................................................................
  217. Generators.tests.cpp:<line number>: PASSED:
  218. REQUIRE( i != j )
  219. with expansion:
  220. 2 != 3
  221. -------------------------------------------------------------------------------
  222. #1913 - GENERATEs can share a line
  223. -------------------------------------------------------------------------------
  224. Generators.tests.cpp:<line number>
  225. ...............................................................................
  226. Generators.tests.cpp:<line number>: PASSED:
  227. REQUIRE( i != j )
  228. with expansion:
  229. 2 != 4
  230. -------------------------------------------------------------------------------
  231. #1938 - GENERATE after a section
  232. A
  233. -------------------------------------------------------------------------------
  234. PartTracker.tests.cpp:<line number>
  235. ...............................................................................
  236. PartTracker.tests.cpp:<line number>: PASSED:
  237. with message:
  238. A
  239. -------------------------------------------------------------------------------
  240. #1938 - GENERATE after a section
  241. B
  242. -------------------------------------------------------------------------------
  243. PartTracker.tests.cpp:<line number>
  244. ...............................................................................
  245. PartTracker.tests.cpp:<line number>: PASSED:
  246. REQUIRE( m )
  247. with expansion:
  248. 1
  249. -------------------------------------------------------------------------------
  250. #1938 - GENERATE after a section
  251. B
  252. -------------------------------------------------------------------------------
  253. PartTracker.tests.cpp:<line number>
  254. ...............................................................................
  255. PartTracker.tests.cpp:<line number>: PASSED:
  256. REQUIRE( m )
  257. with expansion:
  258. 2
  259. -------------------------------------------------------------------------------
  260. #1938 - GENERATE after a section
  261. B
  262. -------------------------------------------------------------------------------
  263. PartTracker.tests.cpp:<line number>
  264. ...............................................................................
  265. PartTracker.tests.cpp:<line number>: PASSED:
  266. REQUIRE( m )
  267. with expansion:
  268. 3
  269. -------------------------------------------------------------------------------
  270. #1938 - Section followed by flat generate
  271. A
  272. -------------------------------------------------------------------------------
  273. PartTracker.tests.cpp:<line number>
  274. ...............................................................................
  275. PartTracker.tests.cpp:<line number>: PASSED:
  276. REQUIRE( 1 )
  277. -------------------------------------------------------------------------------
  278. #1938 - Section followed by flat generate
  279. -------------------------------------------------------------------------------
  280. PartTracker.tests.cpp:<line number>
  281. ...............................................................................
  282. PartTracker.tests.cpp:<line number>: PASSED:
  283. REQUIRE( m )
  284. with expansion:
  285. 2
  286. -------------------------------------------------------------------------------
  287. #1938 - Section followed by flat generate
  288. -------------------------------------------------------------------------------
  289. PartTracker.tests.cpp:<line number>
  290. ...............................................................................
  291. PartTracker.tests.cpp:<line number>: PASSED:
  292. REQUIRE( m )
  293. with expansion:
  294. 3
  295. -------------------------------------------------------------------------------
  296. #1938 - flat generate
  297. -------------------------------------------------------------------------------
  298. PartTracker.tests.cpp:<line number>
  299. ...............................................................................
  300. PartTracker.tests.cpp:<line number>: PASSED:
  301. REQUIRE( m )
  302. with expansion:
  303. 1
  304. -------------------------------------------------------------------------------
  305. #1938 - flat generate
  306. -------------------------------------------------------------------------------
  307. PartTracker.tests.cpp:<line number>
  308. ...............................................................................
  309. PartTracker.tests.cpp:<line number>: PASSED:
  310. REQUIRE( m )
  311. with expansion:
  312. 2
  313. -------------------------------------------------------------------------------
  314. #1938 - flat generate
  315. -------------------------------------------------------------------------------
  316. PartTracker.tests.cpp:<line number>
  317. ...............................................................................
  318. PartTracker.tests.cpp:<line number>: PASSED:
  319. REQUIRE( m )
  320. with expansion:
  321. 3
  322. -------------------------------------------------------------------------------
  323. #1938 - mixed sections and generates
  324. A
  325. -------------------------------------------------------------------------------
  326. PartTracker.tests.cpp:<line number>
  327. ...............................................................................
  328. PartTracker.tests.cpp:<line number>: PASSED:
  329. with message:
  330. A
  331. -------------------------------------------------------------------------------
  332. #1938 - mixed sections and generates
  333. -------------------------------------------------------------------------------
  334. PartTracker.tests.cpp:<line number>
  335. ...............................................................................
  336. PartTracker.tests.cpp:<line number>: PASSED:
  337. with messages:
  338. i := 1
  339. j := 3
  340. k := 5
  341. -------------------------------------------------------------------------------
  342. #1938 - mixed sections and generates
  343. B
  344. -------------------------------------------------------------------------------
  345. PartTracker.tests.cpp:<line number>
  346. ...............................................................................
  347. PartTracker.tests.cpp:<line number>: PASSED:
  348. with message:
  349. B
  350. -------------------------------------------------------------------------------
  351. #1938 - mixed sections and generates
  352. -------------------------------------------------------------------------------
  353. PartTracker.tests.cpp:<line number>
  354. ...............................................................................
  355. PartTracker.tests.cpp:<line number>: PASSED:
  356. with messages:
  357. i := 1
  358. j := 3
  359. k := 6
  360. -------------------------------------------------------------------------------
  361. #1938 - mixed sections and generates
  362. B
  363. -------------------------------------------------------------------------------
  364. PartTracker.tests.cpp:<line number>
  365. ...............................................................................
  366. PartTracker.tests.cpp:<line number>: PASSED:
  367. with message:
  368. B
  369. -------------------------------------------------------------------------------
  370. #1938 - mixed sections and generates
  371. -------------------------------------------------------------------------------
  372. PartTracker.tests.cpp:<line number>
  373. ...............................................................................
  374. PartTracker.tests.cpp:<line number>: PASSED:
  375. with messages:
  376. i := 1
  377. j := 4
  378. k := 5
  379. -------------------------------------------------------------------------------
  380. #1938 - mixed sections and generates
  381. -------------------------------------------------------------------------------
  382. PartTracker.tests.cpp:<line number>
  383. ...............................................................................
  384. PartTracker.tests.cpp:<line number>: PASSED:
  385. with messages:
  386. i := 1
  387. j := 4
  388. k := 6
  389. -------------------------------------------------------------------------------
  390. #1938 - mixed sections and generates
  391. A
  392. -------------------------------------------------------------------------------
  393. PartTracker.tests.cpp:<line number>
  394. ...............................................................................
  395. PartTracker.tests.cpp:<line number>: PASSED:
  396. with message:
  397. A
  398. -------------------------------------------------------------------------------
  399. #1938 - mixed sections and generates
  400. -------------------------------------------------------------------------------
  401. PartTracker.tests.cpp:<line number>
  402. ...............................................................................
  403. PartTracker.tests.cpp:<line number>: PASSED:
  404. with messages:
  405. i := 2
  406. j := 3
  407. k := 5
  408. -------------------------------------------------------------------------------
  409. #1938 - mixed sections and generates
  410. B
  411. -------------------------------------------------------------------------------
  412. PartTracker.tests.cpp:<line number>
  413. ...............................................................................
  414. PartTracker.tests.cpp:<line number>: PASSED:
  415. with message:
  416. B
  417. -------------------------------------------------------------------------------
  418. #1938 - mixed sections and generates
  419. -------------------------------------------------------------------------------
  420. PartTracker.tests.cpp:<line number>
  421. ...............................................................................
  422. PartTracker.tests.cpp:<line number>: PASSED:
  423. with messages:
  424. i := 2
  425. j := 3
  426. k := 6
  427. -------------------------------------------------------------------------------
  428. #1938 - mixed sections and generates
  429. B
  430. -------------------------------------------------------------------------------
  431. PartTracker.tests.cpp:<line number>
  432. ...............................................................................
  433. PartTracker.tests.cpp:<line number>: PASSED:
  434. with message:
  435. B
  436. -------------------------------------------------------------------------------
  437. #1938 - mixed sections and generates
  438. -------------------------------------------------------------------------------
  439. PartTracker.tests.cpp:<line number>
  440. ...............................................................................
  441. PartTracker.tests.cpp:<line number>: PASSED:
  442. with messages:
  443. i := 2
  444. j := 4
  445. k := 5
  446. -------------------------------------------------------------------------------
  447. #1938 - mixed sections and generates
  448. -------------------------------------------------------------------------------
  449. PartTracker.tests.cpp:<line number>
  450. ...............................................................................
  451. PartTracker.tests.cpp:<line number>: PASSED:
  452. with messages:
  453. i := 2
  454. j := 4
  455. k := 6
  456. -------------------------------------------------------------------------------
  457. #1938 - nested generate
  458. -------------------------------------------------------------------------------
  459. PartTracker.tests.cpp:<line number>
  460. ...............................................................................
  461. PartTracker.tests.cpp:<line number>: PASSED:
  462. REQUIRE( m )
  463. with expansion:
  464. 1
  465. PartTracker.tests.cpp:<line number>: PASSED:
  466. REQUIRE( n )
  467. with expansion:
  468. 1
  469. -------------------------------------------------------------------------------
  470. #1938 - nested generate
  471. -------------------------------------------------------------------------------
  472. PartTracker.tests.cpp:<line number>
  473. ...............................................................................
  474. PartTracker.tests.cpp:<line number>: PASSED:
  475. REQUIRE( m )
  476. with expansion:
  477. 1
  478. PartTracker.tests.cpp:<line number>: PASSED:
  479. REQUIRE( n )
  480. with expansion:
  481. 2
  482. -------------------------------------------------------------------------------
  483. #1938 - nested generate
  484. -------------------------------------------------------------------------------
  485. PartTracker.tests.cpp:<line number>
  486. ...............................................................................
  487. PartTracker.tests.cpp:<line number>: PASSED:
  488. REQUIRE( m )
  489. with expansion:
  490. 1
  491. PartTracker.tests.cpp:<line number>: PASSED:
  492. REQUIRE( n )
  493. with expansion:
  494. 3
  495. -------------------------------------------------------------------------------
  496. #1938 - nested generate
  497. -------------------------------------------------------------------------------
  498. PartTracker.tests.cpp:<line number>
  499. ...............................................................................
  500. PartTracker.tests.cpp:<line number>: PASSED:
  501. REQUIRE( m )
  502. with expansion:
  503. 2
  504. PartTracker.tests.cpp:<line number>: PASSED:
  505. REQUIRE( n )
  506. with expansion:
  507. 1
  508. -------------------------------------------------------------------------------
  509. #1938 - nested generate
  510. -------------------------------------------------------------------------------
  511. PartTracker.tests.cpp:<line number>
  512. ...............................................................................
  513. PartTracker.tests.cpp:<line number>: PASSED:
  514. REQUIRE( m )
  515. with expansion:
  516. 2
  517. PartTracker.tests.cpp:<line number>: PASSED:
  518. REQUIRE( n )
  519. with expansion:
  520. 2
  521. -------------------------------------------------------------------------------
  522. #1938 - nested generate
  523. -------------------------------------------------------------------------------
  524. PartTracker.tests.cpp:<line number>
  525. ...............................................................................
  526. PartTracker.tests.cpp:<line number>: PASSED:
  527. REQUIRE( m )
  528. with expansion:
  529. 2
  530. PartTracker.tests.cpp:<line number>: PASSED:
  531. REQUIRE( n )
  532. with expansion:
  533. 3
  534. -------------------------------------------------------------------------------
  535. #1938 - nested generate
  536. -------------------------------------------------------------------------------
  537. PartTracker.tests.cpp:<line number>
  538. ...............................................................................
  539. PartTracker.tests.cpp:<line number>: PASSED:
  540. REQUIRE( m )
  541. with expansion:
  542. 3
  543. PartTracker.tests.cpp:<line number>: PASSED:
  544. REQUIRE( n )
  545. with expansion:
  546. 1
  547. -------------------------------------------------------------------------------
  548. #1938 - nested generate
  549. -------------------------------------------------------------------------------
  550. PartTracker.tests.cpp:<line number>
  551. ...............................................................................
  552. PartTracker.tests.cpp:<line number>: PASSED:
  553. REQUIRE( m )
  554. with expansion:
  555. 3
  556. PartTracker.tests.cpp:<line number>: PASSED:
  557. REQUIRE( n )
  558. with expansion:
  559. 2
  560. -------------------------------------------------------------------------------
  561. #1938 - nested generate
  562. -------------------------------------------------------------------------------
  563. PartTracker.tests.cpp:<line number>
  564. ...............................................................................
  565. PartTracker.tests.cpp:<line number>: PASSED:
  566. REQUIRE( m )
  567. with expansion:
  568. 3
  569. PartTracker.tests.cpp:<line number>: PASSED:
  570. REQUIRE( n )
  571. with expansion:
  572. 3
  573. -------------------------------------------------------------------------------
  574. #1954 - 7 arg template test case sig compiles - 1, 1, 1, 1, 1, 0, 0
  575. -------------------------------------------------------------------------------
  576. Misc.tests.cpp:<line number>
  577. ...............................................................................
  578. Misc.tests.cpp:<line number>: PASSED:
  579. -------------------------------------------------------------------------------
  580. #1954 - 7 arg template test case sig compiles - 5, 1, 1, 1, 1, 0, 0
  581. -------------------------------------------------------------------------------
  582. Misc.tests.cpp:<line number>
  583. ...............................................................................
  584. Misc.tests.cpp:<line number>: PASSED:
  585. -------------------------------------------------------------------------------
  586. #1954 - 7 arg template test case sig compiles - 5, 3, 1, 1, 1, 0, 0
  587. -------------------------------------------------------------------------------
  588. Misc.tests.cpp:<line number>
  589. ...............................................................................
  590. Misc.tests.cpp:<line number>: PASSED:
  591. -------------------------------------------------------------------------------
  592. #2152 - ULP checks between differently signed values were wrong - double
  593. -------------------------------------------------------------------------------
  594. Matchers.tests.cpp:<line number>
  595. ...............................................................................
  596. Matchers.tests.cpp:<line number>: PASSED:
  597. CHECK_THAT( smallest_non_zero, WithinULP( -smallest_non_zero, 2 ) )
  598. with expansion:
  599. 0.0 is within 2 ULPs of -4.9406564584124654e-324 ([-1.4821969375237396e-323,
  600. 4.9406564584124654e-324])
  601. Matchers.tests.cpp:<line number>: PASSED:
  602. CHECK_THAT( smallest_non_zero, !WithinULP( -smallest_non_zero, 1 ) )
  603. with expansion:
  604. 0.0 not is within 1 ULPs of -4.9406564584124654e-324 ([-9.8813129168249309e-
  605. 324, -0.0000000000000000e+00])
  606. -------------------------------------------------------------------------------
  607. #2152 - ULP checks between differently signed values were wrong - float
  608. -------------------------------------------------------------------------------
  609. Matchers.tests.cpp:<line number>
  610. ...............................................................................
  611. Matchers.tests.cpp:<line number>: PASSED:
  612. CHECK_THAT( smallest_non_zero, WithinULP( -smallest_non_zero, 2 ) )
  613. with expansion:
  614. 0.0f is within 2 ULPs of -1.40129846e-45f ([-4.20389539e-45, 1.40129846e-45])
  615. Matchers.tests.cpp:<line number>: PASSED:
  616. CHECK_THAT( smallest_non_zero, !WithinULP( -smallest_non_zero, 1 ) )
  617. with expansion:
  618. 0.0f not is within 1 ULPs of -1.40129846e-45f ([-2.80259693e-45, -0.
  619. 00000000e+00])
  620. -------------------------------------------------------------------------------
  621. #748 - captures with unexpected exceptions
  622. outside assertions
  623. -------------------------------------------------------------------------------
  624. Exception.tests.cpp:<line number>
  625. ...............................................................................
  626. Exception.tests.cpp:<line number>: FAILED:
  627. due to unexpected exception with messages:
  628. answer := 42
  629. expected exception
  630. -------------------------------------------------------------------------------
  631. #748 - captures with unexpected exceptions
  632. inside REQUIRE_NOTHROW
  633. -------------------------------------------------------------------------------
  634. Exception.tests.cpp:<line number>
  635. ...............................................................................
  636. Exception.tests.cpp:<line number>: FAILED:
  637. REQUIRE_NOTHROW( thisThrows() )
  638. due to unexpected exception with messages:
  639. answer := 42
  640. expected exception
  641. -------------------------------------------------------------------------------
  642. #748 - captures with unexpected exceptions
  643. inside REQUIRE_THROWS
  644. -------------------------------------------------------------------------------
  645. Exception.tests.cpp:<line number>
  646. ...............................................................................
  647. Exception.tests.cpp:<line number>: PASSED:
  648. REQUIRE_THROWS( thisThrows() )
  649. with message:
  650. answer := 42
  651. -------------------------------------------------------------------------------
  652. #809
  653. -------------------------------------------------------------------------------
  654. Compilation.tests.cpp:<line number>
  655. ...............................................................................
  656. Compilation.tests.cpp:<line number>: PASSED:
  657. REQUIRE( 42 == f )
  658. with expansion:
  659. 42 == {?}
  660. -------------------------------------------------------------------------------
  661. #833
  662. -------------------------------------------------------------------------------
  663. Compilation.tests.cpp:<line number>
  664. ...............................................................................
  665. Compilation.tests.cpp:<line number>: PASSED:
  666. REQUIRE( a == t )
  667. with expansion:
  668. 3 == 3
  669. Compilation.tests.cpp:<line number>: PASSED:
  670. CHECK( a == t )
  671. with expansion:
  672. 3 == 3
  673. Compilation.tests.cpp:<line number>: PASSED:
  674. REQUIRE_THROWS( throws_int(true) )
  675. Compilation.tests.cpp:<line number>: PASSED:
  676. CHECK_THROWS_AS( throws_int(true), int )
  677. Compilation.tests.cpp:<line number>: PASSED:
  678. REQUIRE_NOTHROW( throws_int(false) )
  679. Compilation.tests.cpp:<line number>: PASSED:
  680. REQUIRE_THAT( "aaa", Catch::Matchers::EndsWith("aaa") )
  681. with expansion:
  682. "aaa" ends with: "aaa"
  683. Compilation.tests.cpp:<line number>: PASSED:
  684. REQUIRE( templated_tests<int>(3) )
  685. with expansion:
  686. true
  687. -------------------------------------------------------------------------------
  688. #835 -- errno should not be touched by Catch2
  689. -------------------------------------------------------------------------------
  690. Misc.tests.cpp:<line number>
  691. ...............................................................................
  692. Misc.tests.cpp:<line number>: FAILED:
  693. CHECK( f() == 0 )
  694. with expansion:
  695. 1 == 0
  696. Misc.tests.cpp:<line number>: PASSED:
  697. REQUIRE( errno_after == 1 )
  698. with expansion:
  699. 1 == 1
  700. -------------------------------------------------------------------------------
  701. #872
  702. -------------------------------------------------------------------------------
  703. Compilation.tests.cpp:<line number>
  704. ...............................................................................
  705. Compilation.tests.cpp:<line number>: PASSED:
  706. REQUIRE( x == 4 )
  707. with expansion:
  708. {?} == 4
  709. with message:
  710. dummy := 0
  711. -------------------------------------------------------------------------------
  712. #961 -- Dynamically created sections should all be reported
  713. Looped section 0
  714. -------------------------------------------------------------------------------
  715. Misc.tests.cpp:<line number>
  716. ...............................................................................
  717. Misc.tests.cpp:<line number>: PASSED:
  718. with message:
  719. Everything is OK
  720. -------------------------------------------------------------------------------
  721. #961 -- Dynamically created sections should all be reported
  722. Looped section 1
  723. -------------------------------------------------------------------------------
  724. Misc.tests.cpp:<line number>
  725. ...............................................................................
  726. Misc.tests.cpp:<line number>: PASSED:
  727. with message:
  728. Everything is OK
  729. -------------------------------------------------------------------------------
  730. #961 -- Dynamically created sections should all be reported
  731. Looped section 2
  732. -------------------------------------------------------------------------------
  733. Misc.tests.cpp:<line number>
  734. ...............................................................................
  735. Misc.tests.cpp:<line number>: PASSED:
  736. with message:
  737. Everything is OK
  738. -------------------------------------------------------------------------------
  739. #961 -- Dynamically created sections should all be reported
  740. Looped section 3
  741. -------------------------------------------------------------------------------
  742. Misc.tests.cpp:<line number>
  743. ...............................................................................
  744. Misc.tests.cpp:<line number>: PASSED:
  745. with message:
  746. Everything is OK
  747. -------------------------------------------------------------------------------
  748. #961 -- Dynamically created sections should all be reported
  749. Looped section 4
  750. -------------------------------------------------------------------------------
  751. Misc.tests.cpp:<line number>
  752. ...............................................................................
  753. Misc.tests.cpp:<line number>: PASSED:
  754. with message:
  755. Everything is OK
  756. -------------------------------------------------------------------------------
  757. 'Not' checks that should fail
  758. -------------------------------------------------------------------------------
  759. Condition.tests.cpp:<line number>
  760. ...............................................................................
  761. Condition.tests.cpp:<line number>: FAILED:
  762. CHECK( false != false )
  763. Condition.tests.cpp:<line number>: FAILED:
  764. CHECK( true != true )
  765. ===============================================================================
  766. test cases: 32 | 27 passed | 3 failed | 2 failed as expected
  767. assertions: 101 | 94 passed | 4 failed | 3 failed as expected