package Ġcom . var abyte . truth ish Ċ Ċ import Ġcom . var abyte . truth ish . failure . with Strategy Ċ import Ġkotlin . test . Test Ċ Ċ const Ġval ĠTEST _ MESSAGE Ġ= Ġ" Your Ġmessage Ġhere " Ċ Ċ class ĠMessage Assert s Ġ{ ĊĠĠĠ Ġclass ĠStub ĊĊĠĠĠ Ġclass ĠInt Value ( val Ġvalue : ĠInt ) Ġ: ĠComparable < Int Value > Ġ{ ĊĠĠĠĠĠĠĠ Ġoverride Ġfun Ġcompare To ( other : ĠInt Value ): ĠInt Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn Ġvalue . compareTo ( other . value ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġmessage Checks () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġtest Strategy Ġ= ĠTest Strategy () ĊĊĠĠĠĠĠĠĠ Ġval Ġstub : ĠStub ? Ġ= ĠStub () ĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( stub ). with Strategy ( test Strategy ). isNull () ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( stub !! ). with Strategy ( test Strategy ). isNot InstanceOf < Stub >() ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( Int Value ( 3 )). with Strategy ( test Strategy ). is GreaterThan ( Int Value ( 4 )) ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( false ). with Strategy ( test Strategy ). isTrue () ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( 1 0 ). with Strategy ( test Strategy ). is GreaterThan Equal ( 1 0 0 ) ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( 1 0 . to Byte ()). with Strategy ( test Strategy ). is GreaterThan Equal ( 1 0 0 . to Byte ()) ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( 1 0 . to Short ()). with Strategy ( test Strategy ). is GreaterThan Equal ( 1 0 0 . to Short ()) ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( 1 0 . to Long ()). with Strategy ( test Strategy ). is GreaterThan Equal ( 1 0 0 . to Long ()) ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( 1 0 f ). with Strategy ( test Strategy ). is GreaterThan Equal ( 1 0 0 f ) ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( 1 0 . 0 ). with Strategy ( test Strategy ). is GreaterThan Equal ( 1 0 0 . 0 ) ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that (" XYZ "). with Strategy ( test Strategy ). isEmpty () ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( listOf ( 1 , Ġ 2 , Ġ 3 )). with Strategy ( test Strategy ). contains Any In ( listOf ( 4 , Ġ 5 , Ġ 6 )) ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĊĠĠĠĠĠĠĠ Ġassert With Message ( TEST _ MESSAGE ). that ( map Of ( 1 Ġto Ġ 1 , Ġ 2 Ġto Ġ 4 , Ġ 3 Ġto Ġ 9 )). with Strategy ( test Strategy ). contains ( 4 Ġto Ġ 1 6 ) ĊĠĠĠĠĠĠĠ Ġtest Strategy . verify Failure And Clear ( TEST _ MESSAGE ) ĊĠĠĠ Ġ} Ċ }