Created
September 19, 2020 13:26
-
-
Save windmaomao/c407e4706d604b7543aee081d4bd8c78 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// aoc2015-day0-test | |
@Test fun day01Part1Example() { | |
val part1 = { s: String -> | |
d.part1(d.extractModels(s)) | |
} | |
assertEquals(0, part1("(())")) | |
assertEquals(0, part1("()()")) | |
} | |
@Test fun day01Part1() { | |
assertEquals(280, d.part1(ops)) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment