package Ġcom . a oc . int code . network Ċ Ċ import Ġassert k . assertThat Ċ import Ġassert k . assertions . isEqualTo Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ class ĠNetwork Address Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun ĠgetValue () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Network Address ( 1 2 ). value ). isEqualTo ( 1 2 ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġget Code () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Network Address ( 2 3 ). getCode ()). isEqualTo ( 2 3 ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun ĠtoString Test () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Network Address ( 2 5 5 ). toString ()). isEqualTo (" 2 5 5 ") ĊĠĠĠ Ġ} Ċ }