package Ġbr . com . j ir atorio . assert Ċ Ċ import Ġbr . com . j ir atorio . domain . E fficiency Ċ Ċ class ĠE fficiency Assert ( ĊĠĠĠ Ġactual : ĠE fficiency Ċ ) Ġ: ĠBase Assert < E fficiency Assert , ĠE fficiency >( ĊĠĠĠ Ġactual , ĊĠĠĠ ĠE fficiency Assert :: class Ċ ) Ġ{ ĊĊĠĠĠ Ġfun Ġhas Wait Time ( wait Time : ĠLong ) Ġ= Ġassert All Ġ{ ĊĠĠĠĠĠĠĠ Ġobjects . assertEqual ( field (" e fficiency . wait Time "), Ġactual . wait Time , Ġwait Time ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġhas Touch Time ( touch Time : ĠLong ) Ġ= Ġassert All Ġ{ ĊĠĠĠĠĠĠĠ Ġobjects . assertEqual ( field (" e fficiency . touch Time "), Ġactual . touch Time , Ġtouch Time ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġhas Pct E fficiency ( pct E fficiency : ĠDouble ) Ġ= Ġassert All Ġ{ ĊĠĠĠĠĠĠĠ Ġobjects . assertEqual ( field (" e fficiency . pct E fficiency "), Ġactual . pct E fficiency , Ġp ct E fficiency ) ĊĠĠĠ Ġ} Ċ Ċ } Ċ Ċ fun ĠE fficiency . assertThat ( assertions : ĠE fficiency Assert . () Ġ-> ĠUnit ): ĠE fficiency Assert Ġ= ĊĠĠĠ ĠE fficiency Assert ( this ). assertThat ( assertions ) Ċ