trackler 2.2.1.42 → 2.2.1.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trackler/version.rb +1 -1
  3. data/problem-specifications/exercises/change/metadata.yml +2 -0
  4. data/problem-specifications/exercises/crypto-square/canonical-data.json +10 -65
  5. data/tracks/c/bin/run-tests +3 -0
  6. data/tracks/c/exercises/acronym/test/test_acronym.c +8 -0
  7. data/tracks/c/exercises/all-your-base/test/test_all_your_base.c +19 -0
  8. data/tracks/c/exercises/allergies/test/test_allergies.c +13 -0
  9. data/tracks/c/exercises/anagram/src/anagram.h +2 -2
  10. data/tracks/c/exercises/anagram/src/example.c +5 -5
  11. data/tracks/c/exercises/anagram/test/test_anagram.c +39 -29
  12. data/tracks/c/exercises/atbash-cipher/test/test_atbash_cipher.c +12 -0
  13. data/tracks/c/exercises/beer-song/test/test_beer_song.c +5 -0
  14. data/tracks/c/exercises/binary-search/test/test_binary_search.c +10 -0
  15. data/tracks/c/exercises/binary/test/test_binary.c +14 -0
  16. data/tracks/c/exercises/bob/test/test_bob.c +16 -0
  17. data/tracks/c/exercises/clock/test/test_clock.c +34 -0
  18. data/tracks/c/exercises/difference-of-squares/test/test_difference_of_squares.c +9 -0
  19. data/tracks/c/exercises/gigasecond/test/test_gigasecond.c +4 -0
  20. data/tracks/c/exercises/grains/test/test_grains.c +9 -0
  21. data/tracks/c/exercises/hamming/test/test_hamming.c +12 -0
  22. data/tracks/c/exercises/isogram/src/example.c +6 -6
  23. data/tracks/c/exercises/isogram/src/example.h +1 -1
  24. data/tracks/c/exercises/isogram/test/test_isogram.c +17 -9
  25. data/tracks/c/exercises/largest-series-product/test/test_largest_series_product.c +15 -0
  26. data/tracks/c/exercises/leap/test/test_leap.c +4 -0
  27. data/tracks/c/exercises/nth-prime/test/test_nth_prime.c +4 -0
  28. data/tracks/c/exercises/nucleotide-count/test/test_nucleotide_count.c +4 -0
  29. data/tracks/c/exercises/palindrome-products/test/test_palindrome_products.c +1 -0
  30. data/tracks/c/exercises/pangram/test/test_pangram.c +11 -0
  31. data/tracks/c/exercises/pascals-triangle/test/test_pascals_triangle.c +5 -0
  32. data/tracks/c/exercises/perfect-numbers/test/test_perfect_numbers.c +12 -0
  33. data/tracks/c/exercises/phone-number/test/test_phone_number.c +13 -0
  34. data/tracks/c/exercises/raindrops/test/test_raindrops.c +17 -0
  35. data/tracks/c/exercises/react/test/test_react.c +14 -0
  36. data/tracks/c/exercises/rna-transcription/test/test_rna_transcription.c +7 -0
  37. data/tracks/c/exercises/robot-simulator/test/test_robot_simulator.c +11 -0
  38. data/tracks/c/exercises/roman-numerals/test/test_roman_numerals.c +17 -0
  39. data/tracks/c/exercises/scrabble-score/test/test_scrabble_score.c +10 -0
  40. data/tracks/c/exercises/sieve/test/test_sieve.c +4 -0
  41. data/tracks/c/exercises/space-age/test/test_space_age.c +7 -0
  42. data/tracks/c/exercises/sum-of-multiples/test/test_sum_of_multiples.c +11 -0
  43. data/tracks/c/exercises/triangle/test/test_triangle.c +15 -0
  44. data/tracks/c/exercises/word-count/test/test_word_count.c +10 -0
  45. data/tracks/dart/.travis.yml +2 -7
  46. data/tracks/dart/bin/check_formatting +9 -0
  47. data/tracks/dart/exercises/bob/pubspec.lock +26 -26
  48. data/tracks/dart/exercises/difference-of-squares/pubspec.lock +26 -26
  49. data/tracks/dart/exercises/gigasecond/pubspec.lock +26 -26
  50. data/tracks/dart/exercises/hamming/pubspec.lock +26 -26
  51. data/tracks/dart/exercises/hello-world/pubspec.lock +26 -26
  52. data/tracks/dart/exercises/leap/pubspec.lock +26 -26
  53. data/tracks/dart/exercises/rna-transcription/pubspec.lock +26 -26
  54. data/tracks/dart/exercises/rna-transcription/test/rna_transcription_test.dart +1 -1
  55. data/tracks/dart/pubspec.lock +42 -30
  56. data/tracks/dart/pubspec.yaml +3 -3
  57. data/tracks/dart/test/exercises_test.dart +52 -14
  58. data/tracks/dart/tool/create-exercise +1 -1
  59. data/tracks/erlang/.travis.yml +2 -2
  60. data/tracks/erlang/config.json +10 -0
  61. data/tracks/erlang/exercises/bank-account/src/example.erl +67 -41
  62. data/tracks/erlang/exercises/bank-account/test/bank_account_tests.erl +0 -6
  63. data/tracks/erlang/exercises/luhn/src/example.erl +32 -14
  64. data/tracks/erlang/exercises/luhn/test/luhn_tests.erl +36 -10
  65. data/tracks/erlang/exercises/two-fer/README.md +19 -0
  66. data/tracks/erlang/exercises/two-fer/include/exercism.hrl +11 -0
  67. data/tracks/erlang/exercises/two-fer/rebar.config +30 -0
  68. data/tracks/erlang/exercises/two-fer/src/example.erl +11 -0
  69. data/tracks/erlang/exercises/two-fer/src/two_fer.app.src +9 -0
  70. data/tracks/erlang/exercises/two-fer/src/two_fer.erl +11 -0
  71. data/tracks/erlang/exercises/two-fer/test/two_fer_tests.erl +15 -0
  72. data/tracks/java/config.json +26 -3
  73. data/tracks/java/exercises/list-ops/.meta/hints.md +4 -0
  74. data/tracks/javascript/config.json +14 -0
  75. data/tracks/javascript/docs/ABOUT.md +16 -9
  76. data/tracks/javascript/exercises/diffie-hellman/README.md +73 -0
  77. data/tracks/javascript/exercises/diffie-hellman/diffie-hellman.spec.js +73 -0
  78. data/tracks/javascript/exercises/diffie-hellman/example.js +48 -0
  79. data/tracks/julia/config.json +1 -1
  80. data/tracks/python/exercises/accumulate/accumulate.py +1 -1
  81. data/tracks/python/exercises/allergies/allergies.py +2 -2
  82. data/tracks/python/exercises/alphametics/alphametics.py +1 -1
  83. data/tracks/python/exercises/anagram/anagram.py +1 -1
  84. data/tracks/python/exercises/binary-search/binary_search.py +1 -1
  85. data/tracks/python/exercises/binary/binary.py +1 -1
  86. data/tracks/python/exercises/collatz-conjecture/collatz_conjecture.py +1 -1
  87. data/tracks/python/exercises/crypto-square/crypto_square.py +1 -1
  88. data/tracks/python/exercises/diamond/diamond.py +1 -1
  89. data/tracks/python/exercises/grep/grep.py +2 -0
  90. data/tracks/python/exercises/hello-world/hello_world.py +1 -1
  91. data/tracks/python/exercises/largest-series-product/largest_series_product.py +1 -1
  92. data/tracks/python/exercises/minesweeper/minesweeper.py +2 -1
  93. data/tracks/python/exercises/nucleotide-count/nucleotide_count.py +2 -2
  94. data/tracks/python/exercises/ocr-numbers/ocr_numbers.py +2 -2
  95. data/tracks/python/exercises/octal/octal.py +1 -1
  96. data/tracks/python/exercises/pangram/pangram.py +1 -1
  97. data/tracks/python/exercises/pascals-triangle/pascals_triangle.py +3 -3
  98. data/tracks/python/exercises/poker/poker.py +1 -1
  99. data/tracks/python/exercises/prime-factors/prime_factors.py +1 -1
  100. data/tracks/python/exercises/protein-translation/protein_translation.py +2 -2
  101. data/tracks/python/exercises/proverb/proverb.py +1 -1
  102. data/tracks/python/exercises/queen-attack/queen_attack.py +2 -2
  103. data/tracks/python/exercises/rail-fence-cipher/rail_fence_cipher.py +3 -3
  104. data/tracks/python/exercises/roman-numerals/roman_numerals.py +1 -1
  105. data/tracks/python/exercises/rotational-cipher/rotational_cipher.py +1 -1
  106. data/tracks/python/exercises/say/say.py +1 -1
  107. data/tracks/python/exercises/secret-handshake/secret_handshake.py +2 -2
  108. data/tracks/python/exercises/space-age/space_age.py +1 -1
  109. data/tracks/python/exercises/tournament/tournament.py +1 -1
  110. data/tracks/python/exercises/trinary/trinary.py +1 -1
  111. data/tracks/python/exercises/two-fer/two_fer.py +1 -1
  112. data/tracks/python/exercises/word-count/word_count.py +1 -1
  113. data/tracks/ruby/lib/generator/exercise_case.rb +1 -1
  114. data/tracks/ruby/test/generator/exercise_case_test.rb +10 -0
  115. data/tracks/scala/testgen/src/main/resources/version-check-ignore.txt +1 -2
  116. data/tracks/sml/exercises/accumulate/README.md +19 -14
  117. data/tracks/sml/exercises/accumulate/accumulate.sml +1 -1
  118. data/tracks/sml/exercises/accumulate/example.sml +2 -2
  119. data/tracks/sml/exercises/accumulate/test.sml +26 -56
  120. data/tracks/sml/exercises/accumulate/testlib.sml +159 -0
  121. metadata +15 -2
@@ -15,6 +15,7 @@ void test_input_cells_have_value(void)
15
15
 
16
16
  void test_input_cells_value_can_be_set(void)
17
17
  {
18
+ TEST_IGNORE(); // delete this line to run test
18
19
  struct reactor *r = create_reactor();
19
20
  struct cell *input = create_input_cell(r, 4);
20
21
 
@@ -31,6 +32,7 @@ static int plus1(int x)
31
32
 
32
33
  void test_compute_cells_calculate_initial_value(void)
33
34
  {
35
+ TEST_IGNORE();
34
36
  struct reactor *r = create_reactor();
35
37
  struct cell *input = create_input_cell(r, 1);
36
38
  struct cell *output = create_compute1_cell(r, input, plus1);
@@ -42,11 +44,13 @@ void test_compute_cells_calculate_initial_value(void)
42
44
 
43
45
  static int concat_digits(int a, int b)
44
46
  {
47
+ TEST_IGNORE();
45
48
  return b * 10 + a;
46
49
  }
47
50
 
48
51
  void test_compute_cells_take_inputs_in_the_right_order(void)
49
52
  {
53
+ TEST_IGNORE();
50
54
  struct reactor *r = create_reactor();
51
55
  struct cell *one = create_input_cell(r, 1);
52
56
  struct cell *two = create_input_cell(r, 2);
@@ -59,6 +63,7 @@ void test_compute_cells_take_inputs_in_the_right_order(void)
59
63
 
60
64
  void test_compute_cells_update_value_when_dependencies_are_changed(void)
61
65
  {
66
+ TEST_IGNORE();
62
67
  struct reactor *r = create_reactor();
63
68
  struct cell *input = create_input_cell(r, 1);
64
69
  struct cell *output = create_compute1_cell(r, input, plus1);
@@ -86,6 +91,7 @@ static int plus(int x, int y)
86
91
 
87
92
  void test_compute_cells_can_depend_on_other_compute_cells(void)
88
93
  {
94
+ TEST_IGNORE();
89
95
  struct reactor *r = create_reactor();
90
96
  struct cell *input = create_input_cell(r, 1);
91
97
  struct cell *times_two = create_compute1_cell(r, input, times2);
@@ -113,6 +119,7 @@ static void cb_spy(void *obj, int v)
113
119
 
114
120
  void test_compute_cells_fire_callbacks(void)
115
121
  {
122
+ TEST_IGNORE();
116
123
  struct reactor *r = create_reactor();
117
124
  struct cell *input = create_input_cell(r, 1);
118
125
  struct cell *output = create_compute1_cell(r, input, plus1);
@@ -135,6 +142,7 @@ static void cb_noop(void *obj, int v)
135
142
 
136
143
  void test_compute_cells_dont_access_callback_obj(void)
137
144
  {
145
+ TEST_IGNORE();
138
146
  struct reactor *r = create_reactor();
139
147
  struct cell *input = create_input_cell(r, 1);
140
148
  struct cell *output = create_compute1_cell(r, input, plus1);
@@ -153,6 +161,7 @@ static int big_if_three(int x)
153
161
 
154
162
  void test_callbacks_only_fire_on_change(void)
155
163
  {
164
+ TEST_IGNORE();
156
165
  struct reactor *r = create_reactor();
157
166
  struct cell *input = create_input_cell(r, 1);
158
167
  struct cell *output = create_compute1_cell(r, input, big_if_three);
@@ -172,6 +181,7 @@ void test_callbacks_only_fire_on_change(void)
172
181
 
173
182
  void test_callbacks_can_be_added_and_removed(void)
174
183
  {
184
+ TEST_IGNORE();
175
185
  struct reactor *r = create_reactor();
176
186
  struct cell *input = create_input_cell(r, 11);
177
187
  struct cell *output = create_compute1_cell(r, input, plus1);
@@ -201,6 +211,7 @@ void test_callbacks_can_be_added_and_removed(void)
201
211
 
202
212
  void test_removing_most_recent_callback(void)
203
213
  {
214
+ TEST_IGNORE();
204
215
  struct reactor *r = create_reactor();
205
216
  struct cell *input = create_input_cell(r, 11);
206
217
  struct cell *output = create_compute1_cell(r, input, plus1);
@@ -222,6 +233,7 @@ void test_removing_most_recent_callback(void)
222
233
 
223
234
  void test_removing_a_callback_multiple_times(void)
224
235
  {
236
+ TEST_IGNORE();
225
237
  struct reactor *r = create_reactor();
226
238
  struct cell *input = create_input_cell(r, 11);
227
239
  struct cell *output = create_compute1_cell(r, input, plus1);
@@ -255,6 +267,7 @@ static int times(int x, int y)
255
267
 
256
268
  void test_callbacks_only_called_once_even_if_multiple_inputs_change(void)
257
269
  {
270
+ TEST_IGNORE();
258
271
  struct reactor *r = create_reactor();
259
272
  struct cell *input = create_input_cell(r, 1);
260
273
  struct cell *plus_one = create_compute1_cell(r, input, plus1);
@@ -280,6 +293,7 @@ static int minus(int x, int y)
280
293
 
281
294
  void test_callbacks_not_called_if_inputs_change_but_output_doesnt(void)
282
295
  {
296
+ TEST_IGNORE();
283
297
  struct reactor *r = create_reactor();
284
298
  struct cell *input = create_input_cell(r, 1);
285
299
  struct cell *plus_one = create_compute1_cell(r, input, plus1);
@@ -21,36 +21,43 @@ void test_transcribes_G_to_C(void)
21
21
 
22
22
  void test_transcribes_C_to_G(void)
23
23
  {
24
+ TEST_IGNORE(); // delete this line to run test
24
25
  test_transcription("C", "G");
25
26
  }
26
27
 
27
28
  void test_transcribes_T_to_A(void)
28
29
  {
30
+ TEST_IGNORE();
29
31
  test_transcription("T", "A");
30
32
  }
31
33
 
32
34
  void test_transcribes_A_to_U(void)
33
35
  {
36
+ TEST_IGNORE();
34
37
  test_transcription("A", "U");
35
38
  }
36
39
 
37
40
  void test_transcribes_all_occurrences(void)
38
41
  {
42
+ TEST_IGNORE();
39
43
  test_transcription("ACGTGGTCTTAA", "UGCACCAGAAUU");
40
44
  }
41
45
 
42
46
  void test_handle_invalid_nucleotide(void)
43
47
  {
48
+ TEST_IGNORE();
44
49
  test_failure("U");
45
50
  }
46
51
 
47
52
  void test_handle_completely_invalid_input(void)
48
53
  {
54
+ TEST_IGNORE();
49
55
  test_failure("XXX");
50
56
  }
51
57
 
52
58
  void test_handle_partially_invalid_input(void)
53
59
  {
60
+ TEST_IGNORE();
54
61
  test_failure("ACGTXXXCTTAA");
55
62
  }
56
63
 
@@ -21,6 +21,7 @@ void test_init(void)
21
21
 
22
22
  void test_invalid_initial_heading(void)
23
23
  {
24
+ TEST_IGNORE(); // delete this line to run test
24
25
  RobotGridStatus_t expected =
25
26
  { Default_Bearing, {Default_X_Coordinate, Default_Y_Coordinate} };
26
27
  RobotGridStatus_t actual =
@@ -31,6 +32,7 @@ void test_invalid_initial_heading(void)
31
32
 
32
33
  void test_init_with_negative_positions(void)
33
34
  {
35
+ TEST_IGNORE();
34
36
  RobotGridStatus_t expected = { Heading_South, {-1, -1} };
35
37
  RobotGridStatus_t actual = robot_init_with_position(Heading_South, -1, -1);
36
38
 
@@ -39,6 +41,7 @@ void test_init_with_negative_positions(void)
39
41
 
40
42
  void test_turn_right(void)
41
43
  {
44
+ TEST_IGNORE();
42
45
  RobotGridStatus_t expected = { Heading_East, {0, 0} };
43
46
  RobotGridStatus_t actual = robot_init();
44
47
 
@@ -60,6 +63,7 @@ void test_turn_right(void)
60
63
 
61
64
  void test_turn_left(void)
62
65
  {
66
+ TEST_IGNORE();
63
67
  RobotGridStatus_t expected = { Heading_West, {0, 0} };
64
68
  RobotGridStatus_t actual = robot_init();
65
69
 
@@ -81,6 +85,7 @@ void test_turn_left(void)
81
85
 
82
86
  void test_advance_positive_north(void)
83
87
  {
88
+ TEST_IGNORE();
84
89
  RobotGridStatus_t expected = { Heading_North, {0, 1} };
85
90
  RobotGridStatus_t actual = robot_init();
86
91
 
@@ -90,6 +95,7 @@ void test_advance_positive_north(void)
90
95
 
91
96
  void test_advance_positive_east(void)
92
97
  {
98
+ TEST_IGNORE();
93
99
  RobotGridStatus_t expected = { Heading_East, {1, 0} };
94
100
  RobotGridStatus_t actual = robot_init_with_position(Heading_East, 0, 0);
95
101
 
@@ -99,6 +105,7 @@ void test_advance_positive_east(void)
99
105
 
100
106
  void test_advance_negative_south(void)
101
107
  {
108
+ TEST_IGNORE();
102
109
  RobotGridStatus_t expected = { Heading_South, {0, -1} };
103
110
  RobotGridStatus_t actual = robot_init_with_position(Heading_South, 0, 0);
104
111
 
@@ -108,6 +115,7 @@ void test_advance_negative_south(void)
108
115
 
109
116
  void test_advance_negative_west(void)
110
117
  {
118
+ TEST_IGNORE();
111
119
  RobotGridStatus_t expected = { Heading_West, {-1, 0} };
112
120
  RobotGridStatus_t actual = robot_init_with_position(Heading_West, 0, 0);
113
121
 
@@ -117,6 +125,7 @@ void test_advance_negative_west(void)
117
125
 
118
126
  void test_simulate_move_west_and_north(void)
119
127
  {
128
+ TEST_IGNORE();
120
129
  RobotGridStatus_t expected = { Heading_West, {-4, 1} };
121
130
  RobotGridStatus_t actual = robot_init();
122
131
 
@@ -126,6 +135,7 @@ void test_simulate_move_west_and_north(void)
126
135
 
127
136
  void test_simulate_move_west_and_south(void)
128
137
  {
138
+ TEST_IGNORE();
129
139
  RobotGridStatus_t expected = { Heading_South, {-3, -8} };
130
140
  RobotGridStatus_t actual = robot_init_with_position(Heading_East, 2, -7);
131
141
 
@@ -135,6 +145,7 @@ void test_simulate_move_west_and_south(void)
135
145
 
136
146
  void test_simulate_move_east_and_north(void)
137
147
  {
148
+ TEST_IGNORE();
138
149
  RobotGridStatus_t expected = { Heading_North, {11, 5} };
139
150
  RobotGridStatus_t actual = robot_init_with_position(Heading_South, 8, 4);
140
151
 
@@ -16,86 +16,103 @@ void test_one_yields_I(void)
16
16
 
17
17
  void test_two_yields_II(void)
18
18
  {
19
+ TEST_IGNORE(); // delete this line to run test
19
20
  test_conversion(2, "II");
20
21
  }
21
22
 
22
23
  void test_three_yields_III(void)
23
24
  {
25
+ TEST_IGNORE();
24
26
  test_conversion(3, "III");
25
27
  }
26
28
 
27
29
  void test_four_yields_IV(void)
28
30
  {
31
+ TEST_IGNORE();
29
32
  test_conversion(4, "IV");
30
33
  }
31
34
 
32
35
  void test_five_yields_V(void)
33
36
  {
37
+ TEST_IGNORE();
34
38
  test_conversion(5, "V");
35
39
  }
36
40
 
37
41
  void test_six_yields_VI(void)
38
42
  {
43
+ TEST_IGNORE();
39
44
  test_conversion(6, "VI");
40
45
  }
41
46
 
42
47
  void test_nine_yields_IX(void)
43
48
  {
49
+ TEST_IGNORE();
44
50
  test_conversion(9, "IX");
45
51
  }
46
52
 
47
53
  void test_twenty_seven_yields_XXVII(void)
48
54
  {
55
+ TEST_IGNORE();
49
56
  test_conversion(27, "XXVII");
50
57
  }
51
58
 
52
59
  void test_forty_eight_yields_XLVIII(void)
53
60
  {
61
+ TEST_IGNORE();
54
62
  test_conversion(48, "XLVIII");
55
63
  }
56
64
 
57
65
  void test_fifty_nine_yields_LIX(void)
58
66
  {
67
+ TEST_IGNORE();
59
68
  test_conversion(59, "LIX");
60
69
  }
61
70
 
62
71
  void test_ninety_three_yields_XCIII(void)
63
72
  {
73
+ TEST_IGNORE();
64
74
  test_conversion(93, "XCIII");
65
75
  }
66
76
 
67
77
  void test_one_hundred_forty_one_yields_CXLI(void)
68
78
  {
79
+ TEST_IGNORE();
69
80
  test_conversion(141, "CXLI");
70
81
  }
71
82
 
72
83
  void test_one_hundred_sixty_three_yields_CLXIII(void)
73
84
  {
85
+ TEST_IGNORE();
74
86
  test_conversion(163, "CLXIII");
75
87
  }
76
88
 
77
89
  void test_four_hundred_two_yields_CDII(void)
78
90
  {
91
+ TEST_IGNORE();
79
92
  test_conversion(402, "CDII");
80
93
  }
81
94
 
82
95
  void test_five_hundred_seventy_five_yields_DLXXV(void)
83
96
  {
97
+ TEST_IGNORE();
84
98
  test_conversion(575, "DLXXV");
85
99
  }
86
100
 
87
101
  void test_nine_hundred_eleven_yields_CMXI(void)
88
102
  {
103
+ TEST_IGNORE();
89
104
  test_conversion(911, "CMXI");
90
105
  }
91
106
 
92
107
  void test_one_thousand_twenty_four_yields_MXXIV(void)
93
108
  {
109
+ TEST_IGNORE();
94
110
  test_conversion(1024, "MXXIV");
95
111
  }
96
112
 
97
113
  void test_three_thousand_yields_MMM(void)
98
114
  {
115
+ TEST_IGNORE();
99
116
  test_conversion(3000, "MMM");
100
117
  }
101
118
 
@@ -8,51 +8,61 @@ void test_lowercase_letter(void)
8
8
 
9
9
  void test_uppercase_letter(void)
10
10
  {
11
+ TEST_IGNORE(); // delete this line to run test
11
12
  TEST_ASSERT_EQUAL(1, score("A"));
12
13
  }
13
14
 
14
15
  void test_valuable_letter(void)
15
16
  {
17
+ TEST_IGNORE();
16
18
  TEST_ASSERT_EQUAL(4, score("f"));
17
19
  }
18
20
 
19
21
  void test_short_word(void)
20
22
  {
23
+ TEST_IGNORE();
21
24
  TEST_ASSERT_EQUAL(2, score("at"));
22
25
  }
23
26
 
24
27
  void test_short_valuable_word(void)
25
28
  {
29
+ TEST_IGNORE();
26
30
  TEST_ASSERT_EQUAL(12, score("zoo"));
27
31
  }
28
32
 
29
33
  void test_medium_word(void)
30
34
  {
35
+ TEST_IGNORE();
31
36
  TEST_ASSERT_EQUAL(6, score("street"));
32
37
  }
33
38
 
34
39
  void test_medium_valuable_word(void)
35
40
  {
41
+ TEST_IGNORE();
36
42
  TEST_ASSERT_EQUAL(22, score("quirky"));
37
43
  }
38
44
 
39
45
  void test_long_mixed_case_word(void)
40
46
  {
47
+ TEST_IGNORE();
41
48
  TEST_ASSERT_EQUAL(41, score("OxyphenButazone"));
42
49
  }
43
50
 
44
51
  void test_english_like_word(void)
45
52
  {
53
+ TEST_IGNORE();
46
54
  TEST_ASSERT_EQUAL(8, score("pinata"));
47
55
  }
48
56
 
49
57
  void test_empty_input(void)
50
58
  {
59
+ TEST_IGNORE();
51
60
  TEST_ASSERT_EQUAL(0, score(""));
52
61
  }
53
62
 
54
63
  void test_entire_alphabet_available(void)
55
64
  {
65
+ TEST_IGNORE();
56
66
  TEST_ASSERT_EQUAL(87, score("abcdefghijklmnopqrstuvwxyz"));
57
67
  }
58
68
 
@@ -22,6 +22,7 @@ void test_no_primes_under_two(void)
22
22
 
23
23
  void test_find_first_prime(void)
24
24
  {
25
+ TEST_IGNORE(); // delete this line to run test
25
26
  const unsigned int limit = 2;
26
27
  const primesArray_t expected_prime_array = { 2 };
27
28
  const unsigned int expected_prime_count = 1;
@@ -38,6 +39,7 @@ void test_find_first_prime(void)
38
39
 
39
40
  void test_find_primes_up_to_10(void)
40
41
  {
42
+ TEST_IGNORE();
41
43
  const unsigned int limit = 10;
42
44
  const primesArray_t expected_prime_array = { 2, 3, 5, 7 };
43
45
  const unsigned int expected_prime_count = 4;
@@ -54,6 +56,7 @@ void test_find_primes_up_to_10(void)
54
56
 
55
57
  void test_limit_is_prime(void)
56
58
  {
59
+ TEST_IGNORE();
57
60
  const unsigned int limit = 13;
58
61
  const primesArray_t expected_prime_array = { 2, 3, 5, 7, 11, 13 };
59
62
  const unsigned int expected_prime_count = 6;
@@ -70,6 +73,7 @@ void test_limit_is_prime(void)
70
73
 
71
74
  void test_find_primes_up_to_1000(void)
72
75
  {
76
+ TEST_IGNORE();
73
77
  const unsigned int limit = 1000;
74
78
  const primesArray_t expected_prime_array = {
75
79
  2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59,
@@ -8,36 +8,43 @@ void test_convert_earth_year(void)
8
8
 
9
9
  void test_convert_mercury_year(void)
10
10
  {
11
+ TEST_IGNORE(); // delete this line to run test
11
12
  TEST_ASSERT_FLOAT_WITHIN(3, 280.88, convert_planet_age(mercury, 2134835688));
12
13
  }
13
14
 
14
15
  void test_convert_venus_year(void)
15
16
  {
17
+ TEST_IGNORE();
16
18
  TEST_ASSERT_FLOAT_WITHIN(1, 9.78, convert_planet_age(venus, 189839836));
17
19
  }
18
20
 
19
21
  void test_convert_mars_year(void)
20
22
  {
23
+ TEST_IGNORE();
21
24
  TEST_ASSERT_FLOAT_WITHIN(1, 39.25, convert_planet_age(mars, 2329871239));
22
25
  }
23
26
 
24
27
  void test_convert_jupiter_year(void)
25
28
  {
29
+ TEST_IGNORE();
26
30
  TEST_ASSERT_FLOAT_WITHIN(0.1, 2.41, convert_planet_age(jupiter, 901876382));
27
31
  }
28
32
 
29
33
  void test_convert_saturn_year(void)
30
34
  {
35
+ TEST_IGNORE();
31
36
  TEST_ASSERT_FLOAT_WITHIN(0.1, 3.23, convert_planet_age(saturn, 3000000000));
32
37
  }
33
38
 
34
39
  void test_convert_uranus_year(void)
35
40
  {
41
+ TEST_IGNORE();
36
42
  TEST_ASSERT_FLOAT_WITHIN(0.1, 1.21, convert_planet_age(uranus, 3210123456));
37
43
  }
38
44
 
39
45
  void test_convert_neptune_year(void)
40
46
  {
47
+ TEST_IGNORE();
41
48
  TEST_ASSERT_FLOAT_WITHIN(0.1, 1.58, convert_planet_age(neptune, 8210123456));
42
49
  }
43
50