package Ġhm . b ink ley . k units . system . d nd . denom ination Ċ Ċ import Ġhm . b ink ley . k units . into Ċ import Ġhm . b ink ley . k units . system . d nd . denom ination . Cop per . Cop per Pieces Ċ import Ġhm . b ink ley . k units . system . d nd . denom ination . Elect rum . Elect rum Pieces Ċ import Ġhm . b ink ley . k units . system . d nd . denom ination . Gold . Gold Pieces Ċ import Ġhm . b ink ley . k units . system . d nd . denom ination . Pl atin um . Pl atin um Pieces Ċ import Ġhm . b ink ley . k units . system . d nd . denom ination . Silver . Silver Pieces Ċ import Ġio . kot est . matchers . shouldBe Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ internal Ġclass ĠD n DD en om inations Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` should Ġconvert `() Ġ{ ĊĠĠĠĠĠĠĠĠ 1 L . cop per ĠshouldBe Ġ( 1 . cop per Ġinto ĠCop per Pieces ) ĊĠĠĠĠĠĠĠĠ 1 L . silver ĠshouldBe Ġ( 1 0 . cop per Ġinto ĠSilver Pieces ) ĊĠĠĠĠĠĠĠĠ 1 L . elect rum ĠshouldBe Ġ( 5 . silver Ġinto ĠElect rum Pieces ) ĊĠĠĠĠĠĠĠĠ 1 L . gold ĠshouldBe Ġ( 2 . elect rum Ġinto ĠGold Pieces ) ĊĠĠĠĠĠĠĠĠ 1 L . plat in um ĠshouldBe Ġ( 1 0 . gold Ġinto ĠPl atin um Pieces ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` should Ġpretty Ġprint `() Ġ{ ĊĠĠĠĠĠĠĠ Ġ"$ Cop per Pieces " ĠshouldBe Ġ" D & D Ġdenom ination : Ġcop per Ġpiece " ĊĠĠĠĠĠĠĠ Ġ"${ 1 . cop per }" ĠshouldBe Ġ" 1 Ġcp " ĊĠĠĠĠĠĠĠ Ġ"$ Silver Pieces " ĠshouldBe Ġ" D & D Ġdenom ination : Ġsilver Ġpiece " ĊĠĠĠĠĠĠĠ Ġ"${ 1 . silver }" ĠshouldBe Ġ" 1 Ġsp " ĊĠĠĠĠĠĠĠ Ġ"$ Elect rum Pieces " ĠshouldBe Ġ" D & D Ġdenom ination : Ġelect rum Ġpiece " ĊĠĠĠĠĠĠĠ Ġ"${ 1 . elect rum }" ĠshouldBe Ġ" 1 Ġep " ĊĠĠĠĠĠĠĠ Ġ"$ Gold Pieces " ĠshouldBe Ġ" D & D Ġdenom ination : Ġgold Ġpiece " ĊĠĠĠĠĠĠĠ Ġ"${ 1 . gold }" ĠshouldBe Ġ" 1 Ġgp " ĊĠĠĠĠĠĠĠ Ġ"$ Pl atin um Pieces " ĠshouldBe Ġ" D & D Ġdenom ination : Ġpl atin um Ġpiece " ĊĠĠĠĠĠĠĠ Ġ"${ 1 . plat in um }" ĠshouldBe Ġ" 1 Ġpp " ĊĠĠĠ Ġ} Ċ } Ċ