Skip to content

Commit

Permalink
Add test for set string in Day2Test module
Browse files Browse the repository at this point in the history
  • Loading branch information
samjowen committed Dec 29, 2023
1 parent 525c9b0 commit 5109311
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/day2/day2_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,7 @@ defmodule Day2Test do
game_1_string = "Game 1: 3 blue, 4 red; 1 red, 2 green, 6 blue; 2 green"
assert Day2.get_power_of_set(game_1_string) == 48

Check warning on line 172 in test/day2/day2_test.exs

View workflow job for this annotation

GitHub Actions / Build and test

Day2.get_power_of_set/1 is undefined or private
end

# We need a test for a set string, not just the extracted map as we have above.
# ... test here:
end

0 comments on commit 5109311

Please sign in to comment.