package Ġcom . rick cle ph as . k mp . native coroutines Ċ Ċ import Ġkotlinx . coroutines . Job Ċ import Ġkotlin . native . concurrent . is Frozen Ċ import Ġkotlin . test .* Ċ Ċ class ĠNative C ancellable Apple Tests Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġensure Frozen () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġjob Ġ= ĠJob () ĊĠĠĠĠĠĠĠ ĠassertFalse ( job . is Frozen , Ġ" Job Ġshouldn 't Ġbe Ġfrozen Ġyet ") ĊĠĠĠĠĠĠĠ Ġval Ġnative C ancellable Ġ= Ġjob . as Native C ancellable () ĊĠĠĠĠĠĠĠ ĠassertTrue ( native C ancellable . is Frozen , Ġ" Native C ancellable Ġshould Ġbe Ġfrozen ") ĊĠĠĠĠĠĠĠ ĠassertTrue ( job . is Frozen , Ġ" Job Ġshould Ġbe Ġfrozen Ġafter Ġgetting Ġthe ĠNative C ancellable ") ĊĠĠĠ Ġ} Ċ }