diff options
Diffstat (limited to '2025')
| -rw-r--r-- | 2025/ocaml/lib/application/d01p01.mli | 4 | ||||
| -rw-r--r-- | 2025/ocaml/test/application/test_d01p01.ml | 2 | ||||
| -rw-r--r-- | 2025/ocaml/test/domain/test_d01p01.ml | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/2025/ocaml/lib/application/d01p01.mli b/2025/ocaml/lib/application/d01p01.mli index 73631f1..30ece9d 100644 --- a/2025/ocaml/lib/application/d01p01.mli +++ b/2025/ocaml/lib/application/d01p01.mli @@ -1,4 +1,4 @@ val solve : string -> unit -> int -(** [solve input ()] is the solution for the first day of advent of code 2025 for [input]. - The solution for an empty input is [Domain.Day_1.Dial.(to_int start)]. +(** [solve input ()] is the solution for the first part of the first day of advent of code 2025 for [input]. + The solution for an empty input is 0. Requires: [input] to be a multiline string using `\n` as it's line separator. *) diff --git a/2025/ocaml/test/application/test_d01p01.ml b/2025/ocaml/test/application/test_d01p01.ml index 223fd2b..70f5ab2 100644 --- a/2025/ocaml/test/application/test_d01p01.ml +++ b/2025/ocaml/test/application/test_d01p01.ml @@ -16,6 +16,6 @@ let test_full_given_example () = let () = let open Alcotest in - run "Day_1" + run "D01p01" [ ( "given-example" , [test_case "full given example" `Quick test_full_given_example] ) ] diff --git a/2025/ocaml/test/domain/test_d01p01.ml b/2025/ocaml/test/domain/test_d01p01.ml index e51d9a6..23404f6 100644 --- a/2025/ocaml/test/domain/test_d01p01.ml +++ b/2025/ocaml/test/domain/test_d01p01.ml @@ -20,7 +20,7 @@ let test_turn_right_100 () = let () = let open Alcotest in - run "Day_1" + run "D01p01" [ ("initial-state", [test_case "starting state" `Quick test_start]) ; ( "turning-dial" , [ test_case "turning left one step" `Quick test_turn_left_one |
