package Ġcom . r 3 . cord an . primary . states Ċ Ċ import Ġcom . r 3 . cord an . primary . states . board . Access Point Ċ import Ġcom . r 3 . cord an . primary . states . board . Hex Tile Index Ċ import Ġcom . r 3 . cord an . primary . states . board . Tile Corner Index Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġkotlin . test . assertEquals Ċ import Ġkotlin . test . assert Fails With Ċ Ċ class ĠAccess Point Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` Constructor Ġaccepts Ġproper Ġinput `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġaccess Point Ġ= ĠAccess Point ( Hex Tile Index ( 1 ), ĠlistOf ( Tile Corner Index ( 0 ))) ĊĠĠĠĠĠĠĠ ĠassertEquals ( Hex Tile Index ( 1 ), Ġaccess Point . hex Tile Index ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( 1 , Ġaccess Point . hex Tile Coordinate . size ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( Tile Corner Index ( 0 ), Ġaccess Point . hex Tile Coordinate [ 0 ]) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` Constructor Ġreject s Ġempty Ġhex Tile Coordinate `() Ġ{ ĊĠĠĠĠĠĠĠ Ġassert Fails With < IllegalArgumentException > Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠAccess Point ( Hex Tile Index ( 1 ), ĠlistOf ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` Second Ġconstructor Ġis Ġcorrect `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġaccess Point Ġ= ĠAccess Point ( 1 , ĠlistOf ( 0 )) ĊĠĠĠĠĠĠĠ ĠassertEquals ( Hex Tile Index ( 1 ), Ġaccess Point . hex Tile Index ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( 1 , Ġaccess Point . hex Tile Coordinate . size ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( Tile Corner Index ( 0 ), Ġaccess Point . hex Tile Coordinate [ 0 ]) ĊĠĠĠ Ġ} Ċ }