Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Claire Fletcher committed Dec 2, 2023
1 parent ccf10fd commit acb84fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions 2023/1/alternative.py → 2023/1/dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ def calculate_summed_calibration_value(calibration_values):

def main():
print("Reading input file...")
matrix = read_file_into_matrix(
"/home/claire/claire-fletcher/advent-of-code/2023/1/input.txt"
)
matrix = read_file_into_matrix("input.txt")

print("Calulating first and last digits...")
calibration_values_a, calibration_values_b = [], []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Using PyTest
from alternative import *
from dict import *


def test_part1():
Expand Down

0 comments on commit acb84fb

Please sign in to comment.