package Ġio . github . z eb alu . ad vent 2 0 2 0 Ċ Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . Assert Ċ Ċ class ĠMap Test Ġ{ ĊĊ ĉ @ Test Ċ ĉ fun Ġinput 1 () Ġ{ Ċĉ ĉ val Ġmap Ġ= ĠSee Map ( Resource Reader . line Groups ("/ input _ 2 0 . txt ")) Ċĉ ĉ Assert . assertEquals ( 5 9 1 8 7 3 4 8 9 4 3 7 0 3 , Ġmap . multiply Corner ids ()) Ċ ĉ } ĊĉĊ ĉ @ Test Ċ ĉ fun Ġinput 2 () Ġ{ Ċĉ ĉ val Ġmap Ġ= ĠSee Map ( Resource Reader . line Groups ("/ input _ 2 0 . txt ")) Ċĉ ĉ val Ġpatch Ġ= ĠPatch ( Resource Reader . lines ("/ dragon . txt ")) Ċĉ ĉ Assert . assertEquals ( 1 5 6 5 , Ġmap . count R ough Water ( patch )) Ċ ĉ } Ċ }