package Ġwe es ner . adam . playing with code . Con ways Game Of Life Ċ Ċ import Ġwe es ner . adam . playing with code . model . visualization . con ways Game Of Life . Cell State Ċ import Ġwe es ner . adam . playing with code . model . visualization . con ways Game Of Life . Cell State .* Ċ import Ġkotlin . test . Test Ċ Ċ class ĠCell State Tests Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` has Ġdead Ġstate `() Ġ{ ĊĠĠĠĠĠĠĠ Ġassert ( enum Values < Cell State >(). contains ( DEAD )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` has Ġalive Ġstate `() Ġ{ ĊĠĠĠĠĠĠĠ Ġassert ( enum Values < Cell State >(). contains ( AL IVE )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` has Ġrandom Ġstate `() Ġ{ ĊĠĠĠĠĠĠĠ Ġassert ( enum Values < Cell State >(). contains ( RANDOM )) ĊĠĠĠ Ġ} Ċ }