package Ġorg . am sh ove . k lu ent . tests . collections Ċ Ċ import Ġorg . am sh ove . k lu ent . shouldBe EqualTo Ċ import Ġorg . am sh ove . k lu ent . should Equal Un ordered Ċ import Ġorg . am sh ove . k lu ent . tests . Person Ċ import Ġkotlin . test . Test Ċ import Ġkotlin . test . assert Fails Ċ Ċ class ĠShould Equal Un ordered Should Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġfail When Map Creation Order Not The Same () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġfirst Map Ġ= Ġmap Of ( 2 Ġto ĠPerson (" C ", Ġ" D "), Ġ 1 Ġto ĠPerson (" A ", Ġ" B ")) ĊĠĠĠĠĠĠĠ Ġval Ġsecond Map Ġ= Ġmap Of ( 1 Ġto ĠPerson (" A ", Ġ" B "), Ġ 2 Ġto ĠPerson (" C ", Ġ" D ")) ĊĊĠĠĠĠĠĠĠ Ġassert Fails Ġ{ Ġfirst Map ĠshouldBe EqualTo Ġsecond Map Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġpass When Un ordered Maps Are The Same () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġfirst Map Ġ= Ġmap Of ( 2 Ġto ĠPerson (" C ", Ġ" D "), Ġ 1 Ġto ĠPerson (" A ", Ġ" B ")) ĊĠĠĠĠĠĠĠ Ġval Ġsecond Map Ġ= Ġmap Of ( 1 Ġto ĠPerson (" A ", Ġ" B "), Ġ 2 Ġto ĠPerson (" C ", Ġ" D ")) ĊĊĠĠĠĠĠĠĠ Ġfirst Map Ġshould Equal Un ordered Ġsecond Map ĊĠĠĠ Ġ} Ċ Ċ } Ċ