package Ġcom . d are k bx . c ari . sdk . internal . communication Ċ Ċ import Ġandroid . os . Build Ċ import Ġorg . junit . Test Ċ Ċ import Ġorg . junit . Assert .* Ċ import Ġorg . junit . runner . RunWith Ċ import Ġorg . ro bo lectric . Ro bo lectric TestRunner Ċ import Ġorg . ro bo lectric . annotation . Config Ċ Ċ @ Config ( sdk Ġ= Ġ[ Build . VERSION _ CODES . O ]) Ċ @ RunWith ( Ro bo lectric TestRunner :: class ) Ċ class ĠCompression Util Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcompression Test () Ġ{ ĊĠĠĠĠĠĠĠ Ġval ĠtestData Ġ= Ġ" Command Ġto Ġexecute " ĊĠĠĠĠĠĠĠ Ġval Ġcompressed Ġ= ĠCompression Util . encode Data ( testData ) ĊĠĠĠĠĠĠĠ Ġval Ġde compressed Ġ= ĠCompression Util . decode Data ( compressed ) ĊĊĠĠĠĠĠĠĠ ĠassertEquals ( testData , Ġde compressed ) ĊĠĠĠ Ġ} Ċ }