'An EnumValue should not implement comparison to other types.'

def test_compare_non_enum(self):

    test_value = enum.EnumValue(self.SimpleEnum, 0, 'test')
    for other_value in self.other_values:
        for compare_func in compare_functions:
            compare_method = getattr(test_value, compare_func.__name__)
            compare_result = compare_method(other_value)
            self.failUnlessEqual(NotImplemented, compare_result)
