def test_has_variance_where_false_missing(self): assert_equal(msp._has_variance(self, 'var2', 0), False)
def test_has_variance_where_false_non_missing(self): self.data.loc[1, 'var1'] = 0 assert_equal(msp._has_variance(self, 'var1', 0), False)
def test_has_variance_where_true(self): assert_equal(msp._has_variance(self, 'var1', 0), True)
def test_has_variance_where_false_missing(self): assert_equal(ModelSpecProcessor._has_variance(self, "var2", 0), False)
def test_has_variance_where_false_non_missing(self): self.data.loc[1, "var1"] = 0 assert_equal(ModelSpecProcessor._has_variance(self, "var1", 0), False)
def test_has_variance_where_true(self): assert_equal(ModelSpecProcessor._has_variance(self, "var1", 0), True)