package Ġcom . ju ul . tu ul box . functional Ċ Ċ import Ġcom . ju ul . tu ul box . test . run Test Ċ import Ġkotlin . test . Test Ċ import Ġkotlin . test . assertEquals Ċ Ċ class ĠCur ry Tests Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcheck Cur ry Work sWith Ar ity 2 () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġexpected Ġ= Ġstring Concat 2 (" one ", Ġ" two ") ĊĠĠĠĠĠĠĠ Ġval Ġactual Cur ry Ġ= Ġstring Concat 2 . cur ry () (" one ") (" two ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( expected , Ġactual Cur ry ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcheck Cur ry Work sWith Ar ity 3 () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġexpected Ġ= Ġstring Concat 3 (" one ", Ġ" two ", Ġ" three ") ĊĠĠĠĠĠĠĠ Ġval Ġactual Cur ry Ġ= Ġstring Concat 3 . cur ry () (" one ") (" two ") (" three ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( expected , Ġactual Cur ry ) ĊĠĠĠĠĠĠĠ Ġval Ġactual Cur ry First Ġ= Ġstring Concat 3 . cur ry First () (" one ") (" two ", Ġ" three ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( expected , Ġactual Cur ry First ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcheck Cur ry Work sWith Ar ity 4 () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġexpected Ġ= Ġstring Concat 4 (" one ", Ġ" two ", Ġ" three ", Ġ" four ") ĊĠĠĠĠĠĠĠ Ġval Ġactual Cur ry Ġ= Ġstring Concat 4 . cur ry () (" one ") (" two ") (" three ") (" four ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( expected , Ġactual Cur ry ) ĊĠĠĠĠĠĠĠ Ġval Ġactual Cur ry First Ġ= Ġstring Concat 4 . cur ry First () (" one ") (" two ", Ġ" three ", Ġ" four ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( expected , Ġactual Cur ry First ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcheck Cur ry Work sWith Ar ity 5 () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġexpected Ġ= Ġstring Concat 5 (" one ", Ġ" two ", Ġ" three ", Ġ" four ", Ġ" five ") ĊĠĠĠĠĠĠĠ Ġval Ġactual Cur ry Ġ= Ġstring Concat 5 . cur ry () (" one ") (" two ") (" three ") (" four ") (" five ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( expected , Ġactual Cur ry ) ĊĠĠĠĠĠĠĠ Ġval Ġactual Cur ry First Ġ= Ġstring Concat 5 . cur ry First () (" one ") (" two ", Ġ" three ", Ġ" four ", Ġ" five ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( expected , Ġactual Cur ry First ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcheck Cur ry Work sWith Ar ity 6 () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġexpected Ġ= Ġstring Concat 6 (" one ", Ġ" two ", Ġ" three ", Ġ" four ", Ġ" five ", Ġ" six ") ĊĠĠĠĠĠĠĠ Ġval Ġactual Cur ry Ġ= Ġstring Concat 6 . cur ry () (" one ") (" two ") (" three ") (" four ") (" five ") (" six ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( expected , Ġactual Cur ry ) ĊĠĠĠĠĠĠĠ Ġval Ġactual Cur ry First Ġ= Ġstring Concat 6 . cur ry First () (" one ") (" two ", Ġ" three ", Ġ" four ", Ġ" five ", Ġ" six ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( expected , Ġactual Cur ry First ) ĊĠĠĠ Ġ} Ċ } Ċ