Commit graph

17 commits

Author SHA1 Message Date
Evie Litherland-Smith 5fe3d1caa8 Make functions public
Move valid number filtering to separate function for more granular testing
2024-01-06 07:19:13 +00:00
Evie Litherland-Smith a9c3b9a3a0 Update version of pre-commit-rust to include clippy and test running 2024-01-01 11:59:12 +00:00
Evie Litherland-Smith e960718f4b Switch to my fork of pre-commit-rust 2024-01-01 11:47:30 +00:00
Evie Litherland-Smith 56fd115aec Format .pre-commit-config 2024-01-01 11:37:26 +00:00
Evie Litherland-Smith 8c1d94d269 Add working part2/day2 solution
Switch to using new part1 solution as primary solution, make structs
and methods public for use in part2

Keep original solution as old1.rs
2024-01-01 11:33:10 +00:00
Evie Litherland-Smith 1137f8dc8b Add test by lines for part1 2024-01-01 11:02:13 +00:00
Evie Litherland-Smith 50478acd7f Fix day2/part1 (finally), includes alternate method 2024-01-01 10:53:39 +00:00
Evie Litherland-Smith 2706887b7c Add second test for day2/part1 now that I know the solution 2023-12-31 23:43:38 +00:00
Evie Litherland-Smith 4d7036ade2 Fix Games methods to not take ownership of self 2023-12-31 16:47:53 +00:00
Evie Litherland-Smith 055ec379d7 Add problem text to each (current) day 2023-12-31 10:12:17 +00:00
Evie Litherland-Smith 2c88cb8fe8 Day3 part1 solution with passing tests (but failing solution) 2023-12-29 15:50:35 +00:00
Evie Litherland-Smith 9acc2bbb93 Add test and input for day3 (not passing yet)
Delete the basically empty day4 file, todo later
2023-12-29 09:49:00 +00:00
Evie Litherland-Smith cb30011e1c Update day2 to have tests, input 2023-12-29 09:39:08 +00:00
Evie Litherland-Smith 5a5c7d019c Add working day2 solution 2023-12-29 09:31:06 +00:00
Evie Litherland-Smith 5989e4f10f Make sure that day1/part1 is getting the correct solution again
Add input.txt for day1, add test for example case
2023-12-29 08:36:59 +00:00
Evie Litherland-Smith b5d25969a2 Add README 2023-12-29 08:14:45 +00:00
Evie Litherland-Smith 12f4fbedb8 Initial commit
Move current solutions (2023) over and organise using cargo workspaces
to be a bit cleaner to work with
2023-12-29 08:11:41 +00:00