Example #1
0
    def test_false(self):
        """
        Tests feature value groups that aren't sets.
        """

        self.assertFalse(is_feature_a_set(*self.setB))
        self.assertFalse(is_feature_a_set(*self.setD))
Example #2
0
    def test_different(self):
        """
        Tests whether a feature value group is a set by all values being different.
        """

        self.assertEqual(is_feature_a_set(*self.setC), DIFFERENT)
Example #3
0
    def test_same(self):
        """
        Tests whether a feature value group is a set by being same.
        """

        self.assertEqual(is_feature_a_set(*self.setA), SAME)