package Ġda . com a he . i 1 8 n 4 k Ċ Ċ import Ġde . com a he . i 1 8 n 4 k . Locale Ċ import Ġde . com a he . i 1 8 n 4 k . country Ċ import Ġde . com a he . i 1 8 n 4 k . language Ċ import Ġde . com a he . i 1 8 n 4 k . to Tag Ċ import Ġde . com a he . i 1 8 n 4 k . variant Ċ import Ġkotlin . test . Test Ċ import Ġkotlin . test . assertEquals Ċ Ċ class ĠLocale Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Language () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġlocale Ġ= ĠLocale (" de ") ĊĠĠĠĠĠĠĠ ĠassertEquals (" de ", Ġlocale . language ) ĊĠĠĠĠĠĠĠ ĠassertEquals ("", Ġlocale . country ) ĊĠĠĠĠĠĠĠ ĠassertEquals ("", Ġlocale . variant ) ĊĠĠĠĠĠĠĠ ĠassertEquals (" de ", Ġlocale . to Tag ()) ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Language And Country () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġlocale Ġ= ĠLocale (" de ", Ġ" AT ") ĊĠĠĠĠĠĠĠ ĠassertEquals (" de ", Ġlocale . language ) ĊĠĠĠĠĠĠĠ ĠassertEquals (" AT ", Ġlocale . country ) ĊĠĠĠĠĠĠĠ ĠassertEquals ("", Ġlocale . variant ) ĊĠĠĠĠĠĠĠ ĠassertEquals (" de _ AT ", Ġlocale . to Tag ()) ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Language Country And Variant () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġlocale Ġ= ĠLocale (" de ", Ġ" AT ", Ġ" ga udi ") ĊĠĠĠĠĠĠĠ ĠassertEquals (" de ", Ġlocale . language ) ĊĠĠĠĠĠĠĠ ĠassertEquals (" AT ", Ġlocale . country ) ĊĠĠĠĠĠĠĠ ĠassertEquals (" ga udi ", Ġlocale . variant ) ĊĠĠĠĠĠĠĠ ĠassertEquals (" de _ AT _ ga udi ", Ġlocale . to Tag ()) ĊĠĠĠ Ġ} Ċ }