package Ġf tl . util Ċ Ċ import Ġcom . google . common . truth . Truth . assertThat Ċ import Ġorg . junit . Test Ċ Ċ class ĠMatrix State Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġmatrix State _ valid States () Ġ{ ĊĠĠĠĠĠĠĠ ĠlistOf ( Matrix State . VALID ATING , ĠMatrix State . PENDING , ĠMatrix State . RUNNING ). forEach Ġ{ Ġstate Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( Matrix State . completed ( state )). isFalse () ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ ĠassertThat ( Matrix State . completed ( Matrix State . FINISHED )). isTrue () ĊĠĠĠ Ġ} Ċ } Ċ