package Ġorg . am sh ove . k lu ent Ċ Ċ import Ġorg . junit . Assert .* Ċ Ċ infix Ġfun Ġ< T > ĠArray < T >. should Contain ( expected : ĠT ) Ġ= Ġapply Ġ{ Ġif Ġ( this . contains ( expected )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġcontain Ġ$ expected ", Ġ"$ expected ", Ġjoin ( this )) Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠArray < T >. should Contain Some ( expected : ĠArray < T >) Ġ= Ġapply Ġ{ ĠassertTrue (" Expected Ġ$ this Ġto Ġcontain Ġat Ġleast Ġone Ġof Ġ$ expected ", Ġthis . any Ġ{ Ġexpected . contains ( it ) Ġ}) Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠArray < T >. should Contain Some ( expected : ĠIterable < T >) Ġ= Ġapply Ġ{ ĠassertTrue (" Expected Ġ$ this Ġto Ġcontain Ġat Ġleast Ġone Ġof Ġ$ expected ", Ġthis . any Ġ{ Ġexpected . contains ( it ) Ġ}) Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠArray < T >. should Contain None ( expected : ĠArray < T >) Ġ= Ġapply Ġ{ ĠassertTrue (" Expected Ġ$ this Ġto Ġcontain Ġnone Ġof Ġ$ expected ", Ġthis . none Ġ{ Ġexpected . contains ( it ) Ġ}) Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠArray < T >. should Contain None ( expected : ĠIterable < T >) Ġ= Ġapply Ġ{ ĠassertTrue (" Expected Ġ$ this Ġto Ġcontain Ġnone Ġof Ġ$ expected ", Ġthis . none Ġ{ Ġexpected . contains ( it ) Ġ}) Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠArray < T >. should Contain All ( expected : ĠArray < T >) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠArray < T >. should Contain All ( expected : ĠIterable < T >) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠArray < T >. should Not Contain ( expected : ĠT ) Ġ= Ġapply Ġ{ Ġif Ġ(! this . contains ( expected )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġnot Ġcontain Ġ$ expected ", Ġ" the ĠArray Ġto Ġnot Ġcontain Ġ$ expected ", Ġjoin ( this )) Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠArray < T >. should Not Contain Any ( expected : ĠArray < T >) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠArray < T >. should Not Contain Any ( expected : ĠIterable < T >) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠArray < T > ?. should Equal ( expected : ĠArray < T > ?) Ġ= Ġapply Ġ{ Ġassert ArrayEquals ( expected , Ġthis ) Ġ} Ċ Ċ fun Ġ< T > ĠArray < T >. shouldBe Empty () Ġ= Ġapply Ġ{ Ġassert Empty ( this . toList (), Ġ" Array ") Ġ} Ċ Ċ fun Ġ< T > ĠArray < T >. should Not Be Empty () Ġ= Ġapply Ġ{ Ġassert NotEmpty ( this . toList (), Ġ" Array ") Ġ} Ċ Ċ infix Ġfun ĠInt Array . should Equal ( expected : ĠInt Array ) Ġ= Ġapply Ġ{ Ġassert ArrayEquals ( this , Ġexpected ) Ġ} Ċ Ċ fun ĠInt Array . shouldBe Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). shouldBe Empty () Ġ} Ċ Ċ fun ĠInt Array . should Not Be Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Not Be Empty () Ġ} Ċ Ċ infix Ġfun ĠInt Array . should Contain ( expected : ĠInt ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠInt Array . should Contain Some ( expected : ĠInt Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain Some ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠInt Array . should Contain None ( expected : ĠInt Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain None ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠInt Array . should Contain All ( expected : ĠInt Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠInt Array . should Not Contain ( expected : ĠInt ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Not Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠInt Array . should Not Contain Any ( expected : ĠInt Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠInt . shouldBe In ( the Array : ĠInt Array ) Ġ= Ġapply Ġ{ Ġthis ĠshouldBe In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠInt . should Not Be In ( the Array : ĠInt Array ) Ġ= Ġapply Ġ{ Ġthis Ġshould Not Be In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠBoolean Array . should Equal ( expected : ĠBoolean Array ) Ġ= Ġapply Ġ{ Ġassert ArrayEquals ( this , Ġexpected ) Ġ} Ċ Ċ fun ĠBoolean Array . shouldBe Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). shouldBe Empty () Ġ} Ċ Ċ fun ĠBoolean Array . should Not Be Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Not Be Empty () Ġ} Ċ Ċ infix Ġfun ĠBoolean Array . should Contain ( expected : ĠBoolean ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠBoolean Array . should Contain Some ( expected : ĠBoolean Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain Some ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠBoolean Array . should Contain None ( expected : ĠBoolean Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain None ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠBoolean Array . should Contain All ( expected : ĠBoolean Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠBoolean Array . should Not Contain ( expected : ĠBoolean ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Not Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠBoolean Array . should Not Contain Any ( expected : ĠBoolean Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠBoolean . shouldBe In ( the Array : ĠBoolean Array ) Ġ= Ġapply Ġ{ Ġthis ĠshouldBe In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠBoolean . should Not Be In ( the Array : ĠBoolean Array ) Ġ= Ġapply Ġ{ Ġthis Ġshould Not Be In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠByteArray . should Equal ( expected : ĠByteArray ) Ġ= Ġapply Ġ{ Ġassert ArrayEquals ( this , Ġexpected ) Ġ} Ċ Ċ fun ĠByteArray . shouldBe Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). shouldBe Empty () Ġ} Ċ Ċ fun ĠByteArray . should Not Be Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Not Be Empty () Ġ} Ċ Ċ infix Ġfun ĠByteArray . should Contain ( expected : ĠByte ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠByteArray . should Contain Some ( expected : ĠByteArray ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain Some ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠByteArray . should Contain None ( expected : ĠByteArray ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain None ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠByteArray . should Contain All ( expected : ĠByteArray ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠByteArray . should Not Contain ( expected : ĠByte ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Not Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠByteArray . should Not Contain Any ( expected : ĠByteArray ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠByte . shouldBe In ( the Array : ĠByteArray ) Ġ= Ġapply Ġ{ Ġthis ĠshouldBe In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠByte . should Not Be In ( the Array : ĠByteArray ) Ġ= Ġapply Ġ{ Ġthis Ġshould Not Be In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠChar Array . should Equal ( expected : ĠChar Array ) Ġ= Ġapply Ġ{ Ġassert ArrayEquals ( this , Ġexpected ) Ġ} Ċ Ċ infix Ġfun ĠChar Array . should NotEqual ( expected : ĠChar Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould NotEqual Ġexpected . to Typed Array () Ġ} Ċ Ċ fun ĠChar Array . shouldBe Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). shouldBe Empty () Ġ} Ċ Ċ fun ĠChar Array . should Not Be Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Not Be Empty () Ġ} Ċ Ċ infix Ġfun ĠChar Array . should Contain ( expected : ĠChar ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠChar Array . should Contain Some ( expected : ĠChar Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain Some ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠChar Array . should Contain None ( expected : ĠChar Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain None ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠChar Array . should Contain All ( expected : ĠChar Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠChar Array . should Not Contain ( expected : ĠChar ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Not Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠChar Array . should Not Contain Any ( expected : ĠChar Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠChar . shouldBe In ( the Array : ĠChar Array ) Ġ= Ġapply Ġ{ Ġthis ĠshouldBe In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠChar . should Not Be In ( the Array : ĠChar Array ) Ġ= Ġapply Ġ{ Ġthis Ġshould Not Be In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠDouble Array . should Equal ( expected : ĠDouble Array ) Ġ= Ġapply Ġ{ Ġassert ArrayEquals ( this . to Typed Array (), Ġexpected . to Typed Array ()) Ġ} Ċ Ċ fun ĠDouble Array . shouldBe Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). shouldBe Empty () Ġ} Ċ Ċ fun ĠDouble Array . should Not Be Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Not Be Empty () Ġ} Ċ Ċ infix Ġfun ĠDouble Array . should Contain ( expected : ĠDouble ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠDouble Array . should Contain Some ( expected : ĠDouble Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain Some ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠDouble Array . should Contain None ( expected : ĠDouble Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain None ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠDouble Array . should Contain All ( expected : ĠDouble Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠDouble Array . should Not Contain ( expected : ĠDouble ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Not Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠDouble Array . should Not Contain Any ( expected : ĠDouble Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠDouble . shouldBe In ( the Array : ĠDouble Array ) Ġ= Ġapply Ġ{ Ġthis ĠshouldBe In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠDouble . should Not Be In ( the Array : ĠDouble Array ) Ġ= Ġapply Ġ{ Ġthis Ġshould Not Be In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠFloat Array . should Equal ( expected : ĠFloat Array ) Ġ= Ġapply Ġ{ Ġassert ArrayEquals ( this . to Typed Array (), Ġexpected . to Typed Array ()) Ġ} Ċ Ċ fun ĠFloat Array . shouldBe Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). shouldBe Empty () Ġ} Ċ Ċ fun ĠFloat Array . should Not Be Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Not Be Empty () Ġ} Ċ Ċ infix Ġfun ĠFloat Array . should Contain ( expected : ĠFloat ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠFloat Array . should Contain Some ( expected : ĠFloat Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain Some ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠFloat Array . should Contain None ( expected : ĠFloat Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain None ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠFloat Array . should Contain All ( expected : ĠFloat Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠFloat Array . should Not Contain ( expected : ĠFloat ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Not Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠFloat Array . should Not Contain Any ( expected : ĠFloat Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠFloat . shouldBe In ( the Array : ĠFloat Array ) Ġ= Ġapply Ġ{ Ġthis ĠshouldBe In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠFloat . should Not Be In ( the Array : ĠFloat Array ) Ġ= Ġapply Ġ{ Ġthis Ġshould Not Be In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠLong Array . should Equal ( expected : ĠLong Array ) Ġ= Ġapply Ġ{ Ġassert ArrayEquals ( this , Ġexpected ) Ġ} Ċ Ċ fun ĠLong Array . shouldBe Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). shouldBe Empty () Ġ} Ċ Ċ fun ĠLong Array . should Not Be Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Not Be Empty () Ġ} Ċ Ċ infix Ġfun ĠLong Array . should Contain ( expected : ĠLong ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠLong Array . should Contain Some ( expected : ĠLong Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain Some ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠLong Array . should Contain None ( expected : ĠLong Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain None ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠLong Array . should Contain All ( expected : ĠLong Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠLong Array . should Not Contain ( expected : ĠLong ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Not Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠLong Array . should Not Contain Any ( expected : ĠLong Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠLong . shouldBe In ( the Array : ĠLong Array ) Ġ= Ġapply Ġ{ Ġthis ĠshouldBe In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠLong . should Not Be In ( the Array : ĠLong Array ) Ġ= Ġapply Ġ{ Ġthis Ġshould Not Be In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠShort Array . should Equal ( expected : ĠShort Array ) Ġ= Ġapply Ġ{ Ġassert ArrayEquals ( this , Ġexpected ) Ġ} Ċ Ċ fun ĠShort Array . shouldBe Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). shouldBe Empty () Ġ} Ċ Ċ fun ĠShort Array . should Not Be Empty () Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Not Be Empty () Ġ} Ċ Ċ infix Ġfun ĠShort Array . should Contain ( expected : ĠShort ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠShort Array . should Contain Some ( expected : ĠShort Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain Some ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠShort Array . should Contain None ( expected : ĠShort Array ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array (). should Contain None ( expected . to Typed Array ()) Ġ} Ċ Ċ infix Ġfun ĠShort Array . should Contain All ( expected : ĠShort Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠShort Array . should Not Contain ( expected : ĠShort ) Ġ= Ġapply Ġ{ Ġthis . to Typed Array () Ġshould Not Contain Ġexpected Ġ} Ċ Ċ infix Ġfun ĠShort Array . should Not Contain Any ( expected : ĠShort Array ) Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun ĠShort . shouldBe In ( the Array : ĠShort Array ) Ġ= Ġapply Ġ{ Ġthis ĠshouldBe In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun ĠShort . should Not Be In ( the Array : ĠShort Array ) Ġ= Ġapply Ġ{ Ġthis Ġshould Not Be In Ġthe Array . to Typed Array () Ġ} Ċ Ċ infix Ġfun Ġ< T , ĠI Ġ: ĠIterable < T >> ĠI . should Contain ( expected : ĠT ): ĠI Ġ= Ġapply Ġ{ Ġif Ġ( this . contains ( expected )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġcontain Ġ$ expected ", Ġ"$ expected ", Ġjoin ( this )) Ġ} Ċ Ċ infix Ġfun Ġ< T , ĠI Ġ: ĠIterable < T >> ĠI . should Contain Some ( expected : ĠIterable < T >): ĠI Ġ= Ġapply Ġ{ ĠassertTrue (" Expected Ġ$ this Ġto Ġcontain Ġat Ġleast Ġone Ġof Ġ$ expected ", Ġthis . any Ġ{ Ġexpected . contains ( it ) Ġ}) Ġ} Ċ Ċ infix Ġfun Ġ< T , ĠI Ġ: ĠIterable < T >> ĠI . should Contain Some ( expected : ĠArray < T >): ĠI Ġ= Ġapply Ġ{ ĠassertTrue (" Expected Ġ$ this Ġto Ġcontain Ġat Ġleast Ġone Ġof Ġ$ expected ", Ġthis . any Ġ{ Ġexpected . contains ( it ) Ġ}) Ġ} Ċ Ċ infix Ġfun Ġ< T , ĠI Ġ: ĠIterable < T >> ĠI . should Contain None ( expected : ĠIterable < T >): ĠI Ġ= Ġapply Ġ{ ĠassertTrue (" Expected Ġ$ this Ġto Ġcontain Ġnone Ġof Ġ$ expected ", Ġthis . none Ġ{ Ġexpected . contains ( it ) Ġ}) Ġ} Ċ Ċ infix Ġfun Ġ< T , ĠI Ġ: ĠIterable < T >> ĠI . should Contain None ( expected : ĠArray < T >): ĠI Ġ= Ġapply Ġ{ ĠassertTrue (" Expected Ġ$ this Ġto Ġcontain Ġnone Ġof Ġ$ expected ", Ġthis . none Ġ{ Ġexpected . contains ( it ) Ġ}) Ġ} Ċ Ċ infix Ġfun Ġ< T , ĠI Ġ: ĠIterable < T >> ĠI . should Contain All ( expected : ĠIterable < T >): ĠI Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun Ġ< T , ĠI Ġ: ĠIterable < T >> ĠI . should Contain All ( expected : ĠArray < T >): ĠI Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun Ġ< T , ĠI Ġ: ĠIterable < T >> ĠI . should Not Contain ( expected : ĠT ): ĠI Ġ= Ġapply Ġ{ Ġif Ġ(! this . contains ( expected )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġnot Ġcontain Ġ$ expected ", Ġ" the ĠIterable Ġto Ġnot Ġcontain Ġ$ expected ", Ġjoin ( this )) Ġ} Ċ Ċ infix Ġfun Ġ< T , ĠI Ġ: ĠIterable < T >> ĠI . should Not Contain Any ( expected : ĠIterable < T >): ĠI Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun Ġ< T , ĠI Ġ: ĠIterable < T >> ĠI . should Not Contain Any ( expected : ĠArray < T >): ĠI Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it ) Ġ} Ġ} Ċ Ċ infix Ġfun Ġ< T , ĠI : ĠIterable < T >> ĠI . should Equal ( expected : ĠIterable < T >? ): ĠI Ġ= Ġapply Ġ{ ĠassertEquals ( expected , Ġthis ) Ġ} Ċ Ċ fun Ġ< I Ġ: ĠIterable <* >> ĠI . shouldBe Empty (): ĠI Ġ= Ġapply Ġ{ Ġassert Empty ( this , Ġ" Iterable ") Ġ} Ċ Ċ fun Ġ< I Ġ: ĠIterable <* >> ĠI . should Not Be Empty (): ĠI Ġ= Ġapply Ġ{ Ġassert NotEmpty ( this , Ġ" Iterable ") Ġ} Ċ Ċ infix Ġfun Ġ< K , ĠM Ġ: ĠMap < K , Ġ* >> ĠM . should Have Key ( the Key : ĠK ): ĠM Ġ= Ġapply Ġ{ Ġif Ġ( this . containsKey ( the Key )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġcontain Ġkey Ġ$ the Key ", Ġ"$ the Key ", Ġjoin ( this . keys )) Ġ} Ċ Ċ infix Ġfun Ġ< K , ĠM Ġ: ĠMap < K , Ġ* >> ĠM . should Not Have Key ( the Key : ĠK ): ĠM Ġ= Ġapply Ġ{ Ġif Ġ(! this . containsKey ( the Key )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġnot Ġcontain Ġkey Ġ$ the Key ", Ġ" the Ġmap Ġto Ġnot Ġhave Ġthe Ġkey Ġ$ the Key ", Ġjoin ( this . keys )) Ġ} Ċ Ċ infix Ġfun Ġ< V , ĠM Ġ: ĠMap < *, ĠV >> ĠM . should Have Value ( the Value : ĠV ): ĠM Ġ= Ġapply Ġ{ Ġif Ġ( this . values . contains ( the Value )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġcontain Ġthe Ġvalue Ġ$ the Value ", Ġ"$ the Value ", Ġjoin ( this . values )) Ġ} Ċ Ċ infix Ġfun Ġ< V , ĠM Ġ: ĠMap < *, ĠV >> ĠM . should Not Have Value ( the Value : ĠV ): ĠM Ġ= Ġapply Ġ{ Ġif Ġ(! this . values . contains ( the Value )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġnot Ġcontain Ġthe Ġvalue Ġ$ the Value ", Ġ" the Ġmap Ġto Ġnot Ġhave Ġthe Ġvalue Ġ$ the Value ", Ġjoin ( this . values )) Ġ} Ċ Ċ infix Ġfun Ġ< K , ĠV , ĠM Ġ: ĠMap < K , ĠV >> ĠM . should Contain ( expected : ĠPair < K , ĠV >): ĠM Ġ= Ġapply Ġ{ Ġif Ġ( this [ expected . first ] Ġ== Ġexpected . second ) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġcontain Ġ$ expected ", Ġ"$ expected ", Ġjoin ( this )) Ġ} Ċ Ċ infix Ġfun Ġ< K , ĠV , ĠM Ġ: ĠMap < K , ĠV >> ĠM . should Contain All ( expected : ĠM ): ĠM Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Contain ( it . to Pair ()) Ġ} Ġ} Ċ Ċ infix Ġfun Ġ< K , ĠV , ĠM Ġ: ĠMap < K , ĠV >> ĠM . should Not Contain ( expected : ĠPair < K , ĠV >): ĠM Ġ= Ġapply Ġ{ Ġif Ġ( this [ expected . first ] Ġ!= Ġexpected . second ) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġnot Ġcontain Ġ$ expected ", Ġ" the Ġmap Ġto Ġnot Ġcontain Ġthe Ġpair Ġ$ expected ", Ġjoin ( this )) Ġ} Ċ Ċ infix Ġfun Ġ< K , ĠV , ĠM Ġ: ĠMap < K , ĠV >> ĠM . should Not Contain Any ( expected : ĠM ): ĠM Ġ= Ġapply Ġ{ Ġexpected . forEach Ġ{ Ġshould Not Contain ( it . to Pair ()) Ġ} Ġ} Ċ Ċ fun Ġ< M Ġ: ĠMap < *, Ġ* >> ĠM . shouldBe Empty (): ĠM Ġ= Ġapply Ġ{ Ġassert Empty ( this . toList (), Ġ" Map ") Ġ} Ċ Ċ fun Ġ< M Ġ: ĠMap < *, Ġ* >> ĠM . should Not Be Empty (): ĠM Ġ= Ġapply Ġ{ Ġassert NotEmpty ( this . toList (), Ġ" Map ") Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠAny ?. should Not Be In ( array : ĠArray < T >) Ġ= Ġapply Ġ{ Ġif Ġ(! array . contains ( this )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġnot Ġbe Ġin Ġ$ array ", Ġ" the Ġvalue Ġ$ this Ġto Ġnot Ġbe Ġin Ġthe ĠArray ", Ġjoin ( array )) Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠAny ?. shouldBe In ( iterable : ĠIterable < T >) Ġ= Ġapply Ġ{ Ġif Ġ( iterable . contains ( this )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġbe Ġin Ġ$ iterable ", Ġ"$ this ", Ġjoin ( iterable )) Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠAny ?. should Not Be In ( iterable : ĠIterable < T >) Ġ= Ġapply Ġ{ Ġif Ġ(! iterable . contains ( this )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġnot Ġbe Ġin Ġ$ iterable ", Ġ" the Ġvalue Ġ$ this Ġto Ġnot Ġbe Ġin Ġthe ĠIterable ", Ġjoin ( iterable )) Ġ} Ċ Ċ infix Ġfun Ġ< T > ĠAny ?. shouldBe In ( array : ĠArray < T >) Ġ= Ġapply Ġ{ Ġif Ġ( array . contains ( this )) ĠUnit Ġelse Ġfail ("$ this Ġshould Ġbe Ġin Ġ$ array ", Ġ"$ this ", Ġjoin ( array )) Ġ} Ċ Ċ internal Ġfun Ġ< T > Ġassert Empty ( iterable : ĠIterable < T >, Ġcollection Type : ĠString ) Ġ= ĠassertTrue (" Expected Ġthe Ġ$ collection Type Ġto Ġbe Ġempty , Ġbut Ġhas Ġ${ iterable . count ()} Ġelements ", Ġiterable . count () Ġ== Ġ 0 ) Ċ internal Ġfun Ġ< T > Ġassert NotEmpty ( iterable : ĠIterable < T >, Ġcollection Type : ĠString ) Ġ= ĠassertTrue (" Expected Ġthe Ġ$ collection Type Ġto Ġcontain Ġelements , Ġbut Ġis Ġempty ", Ġiterable . count () Ġ> Ġ 0 ) Ċ