func (*LifeSuite) TestIsNotAliveSuccess(c *gc.C) { for i, test := range []life.Value{ life.Dying, life.Dead, "", "bad", "ALIVE", } { c.Logf("test %d: %s", i, test) c.Check(life.IsNotAlive(test), jc.IsTrue) } }
func (*LifeSuite) TestIsNotAliveFailure(c *gc.C) { c.Check(life.IsNotAlive(life.Alive), jc.IsFalse) }