refactor: python abandoned as not required enymore and rust project init
This commit is contained in:
1 parent
ac13078bd0
commit
1de8cf22e9
27 files changed
+20
-21
No files matched your search
@@ -0,0 +1,11 @@
|
||||
from src.modules.day_3 import Engine
|
||||
|
||||
|
||||
def test_engine_parts():
|
||||
engine = Engine(r"src/assets/day_3_test.txt")
|
||||
assert engine.sum_part_numbers() == 4361
|
||||
|
||||
|
||||
def test_gear_ratio():
|
||||
engine = Engine(r"src/assets/day_3_test.txt")
|
||||
assert engine.get_gear_ratio() == 467835
|
||||
Reference in new issue
Block a user