Skip to content

Commit

Permalink
refactor(05/2015): add env variables to diff local and prod tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aleattene committed Dec 7, 2024
1 parent 7b7ee6c commit a45205a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1,014 deletions.
6 changes: 3 additions & 3 deletions year_2015/day_04_ideal_stocking_stuffer/test_day_04_2015.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
def test_day_04_2015():
results_demo = solve_day_04_2015(file_path_demo)
assert results_demo == (609043, 6742839)
if environment == "DEVELOPMENT":
expected_results = int(os.getenv("SOLUTION_01_DAY_04_2015"),
int(os.getenv("SOLUTION_02_DAY_04_2015")))
if environment == "development":
expected_results = (int(os.getenv("SOLUTION_01_DAY_04_2015")),
int(os.getenv("SOLUTION_02_DAY_04_2015")))
results = solve_day_04_2015(file_path)
assert expected_results == results
6 changes: 0 additions & 6 deletions year_2015/day_05_no_intern_helves/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
## Day 05/2015: Doesn't He Have Intern-Elves For This?

https://adventofcode.com/2015/day/5

Part One: `258`

Part Two: `53`

*Demo: `2` and `2`*
Loading

0 comments on commit a45205a

Please sign in to comment.