Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 10 additions & 31 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,7 @@
"slug": "luhn",
"name": "Luhn",
"uuid": "bee97539-b8c1-460e-aa14-9336008df2b6",
"practices": [
"strings"
],
"practices": [],
"prerequisites": [
"strings",
"loops",
Expand All @@ -445,9 +443,7 @@
"slug": "twelve-days",
"name": "Twelve Days",
"uuid": "eeb64dda-b79f-4920-8fa3-04810e8d37ab",
"practices": [
"strings"
],
"practices": [],
"prerequisites": [
"numbers",
"loops",
Expand All @@ -459,9 +455,7 @@
"slug": "tournament",
"name": "Tournament",
"uuid": "486becee-9d85-4139-ab89-db254d385ade",
"practices": [
"strings"
],
"practices": [],
"prerequisites": [
"strings"
],
Expand Down Expand Up @@ -669,9 +663,7 @@
"slug": "resistor-color-trio",
"name": "Resistor Color Trio",
"uuid": "2df14b68-75c8-4984-8ae2-ecd2cb7ed1d4",
"practices": [
"strings"
],
"practices": [],
"prerequisites": [
"arrays",
"strings",
Expand Down Expand Up @@ -765,9 +757,7 @@
"slug": "proverb",
"name": "Proverb",
"uuid": "3c5193ab-6471-4be2-9d24-1d2b51ad822a",
"practices": [
"strings"
],
"practices": [],
"prerequisites": [
"strings",
"arrays",
Expand Down Expand Up @@ -964,9 +954,7 @@
"slug": "flower-field",
"name": "Flower Field",
"uuid": "d55cb55a-9c0e-42b5-83fe-0bfec3d52f93",
"practices": [
"strings"
],
"practices": [],
"prerequisites": [
"strings",
"arrays",
Expand Down Expand Up @@ -1003,9 +991,7 @@
"slug": "bottle-song",
"name": "Bottle Song",
"uuid": "fb29b743-0f2d-46fe-8a2a-14973259bb2b",
"practices": [
"strings"
],
"practices": [],
"prerequisites": [
"strings",
"numbers",
Expand Down Expand Up @@ -1294,9 +1280,7 @@
"slug": "house",
"name": "House",
"uuid": "df5d771a-e57b-4a96-8a29-9bd4ce7f88d2",
"practices": [
"strings"
],
"practices": [],
"prerequisites": [
"strings",
"numbers"
Expand Down Expand Up @@ -1328,9 +1312,7 @@
"slug": "isbn-verifier",
"name": "ISBN Verifier",
"uuid": "a0aac827-8f7a-4065-9d05-a57009f5668d",
"practices": [
"strings"
],
"practices": [],
"prerequisites": [
"strings",
"booleans"
Expand Down Expand Up @@ -1385,9 +1367,7 @@
"slug": "ocr-numbers",
"name": "OCR Numbers",
"uuid": "dd13bb29-589c-497d-9580-3f288f353fb2",
"practices": [
"strings"
],
"practices": [],
"prerequisites": [
"strings",
"loops",
Expand Down Expand Up @@ -1439,7 +1419,6 @@
"name": "Food Chain",
"uuid": "6f0919eb-2160-4cca-8504-286acc2ae9c8",
"practices": [
"strings",
"conditionals"
],
"prerequisites": [
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/bowling/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ description = "two bonus rolls after a strike in the last frame cannot score mor
description = "two bonus rolls after a strike in the last frame can score more than 10 points if one is a strike"

[6380495a-8bc4-4cdb-a59f-5f0212dbed01]
description = "the second bonus rolls after a strike in the last frame cannot be a strike if the first one is not a strike"
description = "the second bonus roll after a strike in the last frame cannot be a strike if the first one is not a strike"

[2b2976ea-446c-47a3-9817-42777f09fe7e]
description = "second bonus roll after a strike in the last frame cannot score more than 10 points"
Expand Down
2 changes: 1 addition & 1 deletion exercises/practice/bowling/bowling_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def test_two_bonus_rolls_after_a_strike_in_the_last_frame_can_score_more_than_10
assert_equal 26, game.score
end

def test_the_second_bonus_rolls_after_a_strike_in_the_last_frame_cannot_be_a_strike_if_the_first_one_is_not_a_strike
def test_the_second_bonus_roll_after_a_strike_in_the_last_frame_cannot_be_a_strike_if_the_first_one_is_not_a_strike
skip
game = Game.new
rolls = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 6]
Expand Down
6 changes: 3 additions & 3 deletions exercises/practice/flatten-array/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ description = "flattens array with just integers present"
description = "5 level nesting"

[d572bdba-c127-43ed-bdcd-6222ac83d9f7]
description = "6 level nesting"
description = "5 level nesting with multiple nested arrays"

[0705a8e5-dc86-4cec-8909-150c5e54fa9c]
description = "null values are omitted from the final result"
Expand All @@ -48,11 +48,11 @@ description = "consecutive null values in the middle of the array are omitted fr
reimplements = "382c5242-587e-4577-b8ce-a5fb51e385a1"

[ef1d4790-1b1e-4939-a179-51ace0829dbd]
description = "6 level nest list with null values"
description = "4 level nest list with null values"
include = false

[dc90a09c-5376-449c-a7b3-c2d20d540069]
description = "6 level nested array with null values"
description = "4 level nested array with null values"
reimplements = "ef1d4790-1b1e-4939-a179-51ace0829dbd"

[85721643-705a-4150-93ab-7ae398e2942d]
Expand Down
4 changes: 2 additions & 2 deletions exercises/practice/flatten-array/flatten_array_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_5_level_nesting
assert_equal [0, 2, 2, 3, 8, 100, 4, 50, -2], flat_array
end

def test_6_level_nesting
def test_5_level_nesting_with_multiple_nested_arrays
skip
flat_array = FlattenArray.flatten([1, [2, [[3]], [4, [[5]]], 6, 7], 8])
assert_equal [1, 2, 3, 4, 5, 6, 7, 8], flat_array
Expand All @@ -50,7 +50,7 @@ def test_consecutive_null_values_in_the_middle_of_the_array_are_omitted_from_the
assert_equal [1, 4], flat_array
end

def test_6_level_nested_array_with_null_values
def test_4_level_nested_array_with_null_values
skip
flat_array = FlattenArray.flatten([0, 2, [[2, 3], 8, [[100]], nil, [[nil]]], -2])
assert_equal [0, 2, 2, 3, 8, 100, -2], flat_array
Expand Down