|
7 | 7 |
|
8 | 8 | // Bob exercise test case data version 1.4.0 |
9 | 9 |
|
10 | | -TEST_CASE("stating_something") { |
| 10 | +TEST_CASE("stating_something", "[e162fead-606f-437a-a166-d051915cea8e]") { |
11 | 11 | REQUIRE("Whatever." == bob::hey("Tom-ay-to, tom-aaaah-to.")); |
12 | 12 | } |
13 | 13 |
|
14 | 14 | #if defined(EXERCISM_RUN_ALL_TESTS) |
15 | | -TEST_CASE("shouting") { REQUIRE("Whoa, chill out!" == bob::hey("WATCH OUT!")); } |
| 15 | +TEST_CASE("shouting", "[73a966dc-8017-47d6-bb32-cf07d1a5fcd9]") { |
| 16 | + REQUIRE("Whoa, chill out!" == bob::hey("WATCH OUT!")); |
| 17 | +} |
16 | 18 |
|
17 | | -TEST_CASE("shouting_gibberish") { |
| 19 | +TEST_CASE("shouting_gibberish", "[d6c98afd-df35-4806-b55e-2c457c3ab748]") { |
18 | 20 | REQUIRE("Whoa, chill out!" == bob::hey("FCECDFCAAB")); |
19 | 21 | } |
20 | 22 |
|
21 | | -TEST_CASE("asking_a_question") { |
| 23 | +TEST_CASE("asking_a_question", "[8a2e771d-d6f1-4e3f-b6c6-b41495556e37]") { |
22 | 24 | REQUIRE("Sure." == |
23 | 25 | bob::hey("Does this cryogenic chamber make me look fat?")); |
24 | 26 | } |
25 | 27 |
|
26 | | -TEST_CASE("asking_a_numeric_question") { |
| 28 | +TEST_CASE("asking_a_numeric_question", |
| 29 | + "[81080c62-4e4d-4066-b30a-48d8d76920d9]") { |
27 | 30 | REQUIRE("Sure." == bob::hey("You are, what, like 15?")); |
28 | 31 | } |
29 | 32 |
|
30 | | -TEST_CASE("asking_gibberish") { REQUIRE("Sure." == bob::hey("fffbbcbeab?")); } |
| 33 | +TEST_CASE("asking_gibberish", "[2a02716d-685b-4e2e-a804-2adaf281c01e]") { |
| 34 | + REQUIRE("Sure." == bob::hey("fffbbcbeab?")); |
| 35 | +} |
31 | 36 |
|
32 | | -TEST_CASE("talking_forcefully") { |
| 37 | +TEST_CASE("talking_forcefully", "[c02f9179-ab16-4aa7-a8dc-940145c385f7]") { |
33 | 38 | REQUIRE("Whatever." == bob::hey("Let's go make out behind the gym!")); |
34 | 39 | } |
35 | 40 |
|
36 | | -TEST_CASE("using_acronyms_in_regular_speech") { |
| 41 | +TEST_CASE("using_acronyms_in_regular_speech", |
| 42 | + "[153c0e25-9bb5-4ec5-966e-598463658bcd]") { |
37 | 43 | REQUIRE("Whatever." == |
38 | 44 | bob::hey("It's OK if you don't want to go to the DMV.")); |
39 | 45 | } |
40 | 46 |
|
41 | | -TEST_CASE("forceful_questions") { |
| 47 | +TEST_CASE("forceful_questions", "[a5193c61-4a92-4f68-93e2-f554eb385ec6]") { |
42 | 48 | REQUIRE("Calm down, I know what I'm doing!" == |
43 | 49 | bob::hey("WHAT THE HELL WERE YOU THINKING?")); |
44 | 50 | } |
45 | 51 |
|
46 | | -TEST_CASE("shouting_numbers") { |
| 52 | +TEST_CASE("shouting_numbers", "[a20e0c54-2224-4dde-8b10-bd2cdd4f61bc]") { |
47 | 53 | REQUIRE("Whoa, chill out!" == bob::hey("1, 2, 3 GO!")); |
48 | 54 | } |
49 | 55 |
|
50 | | -TEST_CASE("no_letters") { REQUIRE("Whatever." == bob::hey("1, 2, 3")); } |
| 56 | +TEST_CASE("no_letters", "[f7bc4b92-bdff-421e-a238-ae97f230ccac]") { |
| 57 | + REQUIRE("Whatever." == bob::hey("1, 2, 3")); |
| 58 | +} |
51 | 59 |
|
52 | | -TEST_CASE("question_with_no_letters") { REQUIRE("Sure." == bob::hey("4?")); } |
| 60 | +TEST_CASE("question_with_no_letters", |
| 61 | + "[bb0011c5-cd52-4a5b-8bfb-a87b6283b0e2]") { |
| 62 | + REQUIRE("Sure." == bob::hey("4?")); |
| 63 | +} |
53 | 64 |
|
54 | | -TEST_CASE("shouting_with_special_characters") { |
| 65 | +TEST_CASE("shouting_with_special_characters", |
| 66 | + "[496143c8-1c31-4c01-8a08-88427af85c66]") { |
55 | 67 | REQUIRE("Whoa, chill out!" == |
56 | 68 | bob::hey("ZOMG THE %^*@#$(*^ ZOMBIES ARE COMING!!11!!1!")); |
57 | 69 | } |
58 | 70 |
|
59 | | -TEST_CASE("shouting_with_no_exclamation_mark") { |
| 71 | +TEST_CASE("shouting_with_no_exclamation_mark", |
| 72 | + "[e6793c1c-43bd-4b8d-bc11-499aea73925f]") { |
60 | 73 | REQUIRE("Whoa, chill out!" == bob::hey("I HATE THE DMV")); |
61 | 74 | } |
62 | 75 |
|
63 | | -TEST_CASE("statement_containing_question_mark") { |
| 76 | +TEST_CASE("statement_containing_question_mark", |
| 77 | + "[aa8097cc-c548-4951-8856-14a404dd236a]") { |
64 | 78 | REQUIRE("Whatever." == bob::hey("Ending with ? means a question.")); |
65 | 79 | } |
66 | 80 |
|
67 | | -TEST_CASE("non_letters_with_question") { REQUIRE("Sure." == bob::hey(":) ?")); } |
| 81 | +TEST_CASE("non_letters_with_question", |
| 82 | + "[9bfc677d-ea3a-45f2-be44-35bc8fa3753e]") { |
| 83 | + REQUIRE("Sure." == bob::hey(":) ?")); |
| 84 | +} |
68 | 85 |
|
69 | | -TEST_CASE("prattling_on") { |
| 86 | +TEST_CASE("prattling_on", "[8608c508-f7de-4b17-985b-811878b3cf45]") { |
70 | 87 | REQUIRE("Sure." == bob::hey("Wait! Hang on. Are you going to be OK?")); |
71 | 88 | } |
72 | 89 |
|
73 | | -TEST_CASE("silence") { REQUIRE("Fine. Be that way!" == bob::hey("")); } |
| 90 | +TEST_CASE("silence", "[bc39f7c6-f543-41be-9a43-fd1c2f753fc0]") { |
| 91 | + REQUIRE("Fine. Be that way!" == bob::hey("")); |
| 92 | +} |
74 | 93 |
|
75 | | -TEST_CASE("prolonged_silence") { |
| 94 | +TEST_CASE("prolonged_silence", "[d6c47565-372b-4b09-b1dd-c40552b8378b]") { |
76 | 95 | REQUIRE("Fine. Be that way!" == bob::hey(" ")); |
77 | 96 | } |
78 | 97 |
|
79 | | -TEST_CASE("alternate_silence") { |
| 98 | +TEST_CASE("alternate_silence", "[4428f28d-4100-4d85-a902-e5a78cb0ecd3]") { |
80 | 99 | REQUIRE("Fine. Be that way!" == bob::hey("\t\t\t\t\t\t\t\t\t\t")); |
81 | 100 | } |
82 | 101 |
|
83 | | -TEST_CASE("multiple_line_question") { |
84 | | - REQUIRE("Whatever." == |
85 | | - bob::hey("\nDoes this cryogenic chamber make me look fat?\nNo.")); |
| 102 | +TEST_CASE("multiple_line_question", "[2c7278ac-f955-4eb4-bf8f-e33eb4116a15]") { |
| 103 | + REQUIRE("Sure." == |
| 104 | + bob::hey("\nDoes this cryogenic chamber make\n me look fat?")); |
86 | 105 | } |
87 | 106 |
|
88 | | -TEST_CASE("starting_with_whitespace") { |
| 107 | +TEST_CASE("starting_with_whitespace", |
| 108 | + "[5371ef75-d9ea-4103-bcfa-2da973ddec1b]") { |
89 | 109 | REQUIRE("Whatever." == bob::hey(" hmmmmmmm...")); |
90 | 110 | } |
91 | 111 |
|
92 | | -TEST_CASE("ending_with_whitespace") { |
| 112 | +TEST_CASE("ending_with_whitespace", "[05b304d6-f83b-46e7-81e0-4cd3ca647900]") { |
93 | 113 | REQUIRE("Sure." == bob::hey("Okay if like my spacebar quite a bit? ")); |
94 | 114 | } |
95 | 115 |
|
96 | | -TEST_CASE("other_whitespace") { |
| 116 | +TEST_CASE("other_whitespace", "[72bd5ad3-9b2f-4931-a988-dce1f5771de2]") { |
97 | 117 | REQUIRE("Fine. Be that way!" == bob::hey("\n\r \t")); |
98 | 118 | } |
99 | 119 |
|
100 | | -TEST_CASE("non_question_ending_with_whitespace") { |
| 120 | +TEST_CASE("non_question_ending_with_whitespace", |
| 121 | + "[12983553-8601-46a8-92fa-fcaa3bc4a2a0]") { |
101 | 122 | REQUIRE("Whatever." == |
102 | 123 | bob::hey("This is a statement ending with whitespace ")); |
103 | 124 | } |
|
0 commit comments