package Ġio . github . lun ar watcher . a oc Ċ Ċ import Ġio . github . lun ar watcher . a oc . day 9 . day 9 Ċ import Ġio . github . lun ar watcher . a oc . day 9 . day 9 part 1 processor Ċ import Ġorg . junit . Test Ċ Ċ class ĠDay 9 Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġpart 1 (){ ĊĠĠĠĠĠĠĠ Ġval Ġcase 1 Ġ= ĠlistOf (" 1 0 Ġplayers ; Ġlast Ġmar ble Ġis Ġworth Ġ 1 6 1 8 Ġpoints ") ĊĠĠĠĠĠĠĠ Ġval Ġcase 2 Ġ= ĠlistOf (" 1 3 Ġplayers ; Ġlast Ġmar ble Ġis Ġworth Ġ 7 9 9 9 Ġpoints ") ĊĠĠĠĠĠĠĠ Ġval Ġcase 3 Ġ= ĠlistOf (" 1 7 Ġplayers ; Ġlast Ġmar ble Ġis Ġworth Ġ 1 1 0 4 Ġpoints ") ĊĠĠĠĠĠĠĠ Ġval Ġcase 4 Ġ= ĠlistOf (" 2 1 Ġplayers ; Ġlast Ġmar ble Ġis Ġworth Ġ 6 1 1 1 Ġpoints ") ĊĠĠĠĠĠĠĠ Ġval Ġcase 5 Ġ= ĠlistOf (" 3 0 Ġplayers ; Ġlast Ġmar ble Ġis Ġworth Ġ 5 8 0 7 Ġpoints ") ĊĊĠĠĠĠĠĠĠ Ġprintln (" Running Ġtest Ġcases ..."); ĊĠĠĠĠĠĠĠ Ġrequire (:: day 9 part 1 processor , Ġcase 1 , Ġ 8 3 1 7 ); ĊĠĠĠĠĠĠĠ Ġrequire (:: day 9 part 1 processor , Ġcase 2 , Ġ 1 4 6 3 7 3 ) ĊĠĠĠĠĠĠĠ Ġrequire (:: day 9 part 1 processor , Ġcase 3 , Ġ 2 7 6 4 ) ĊĠĠĠĠĠĠĠ Ġrequire (:: day 9 part 1 processor , Ġcase 4 , Ġ 5 4 7 1 8 ); ĊĠĠĠĠĠĠĠ Ġrequire (:: day 9 part 1 processor , Ġcase 5 , Ġ 3 7 3 0 5 ) ĊĠĠĠĠĠĠĠ Ġprintln (" Test Ġcases Ġsuccessful !"); ĊĊĠĠĠĠĠĠĠ Ġday 9 ( false ); ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġpart 2 (){ ĊĠĠĠĠĠĠĠ Ġday 9 ( true ) ĊĠĠĠ Ġ} Ċ }