def test_object_identifier_int(self):
        if _debug: TestObjectIdentifier._debug("test_object_identifier_int")

        obj = ObjectIdentifier(1)
        assert obj.value == ('analogInput', 1)
        assert str(obj) == "ObjectIdentifier(analogInput,1)"

        obj = ObjectIdentifier(0x0400002)
        assert obj.value == ('analogOutput', 2)
        assert str(obj) == "ObjectIdentifier(analogOutput,2)"
dataset/ETHPy150Open JoelBender/bacpypes/tests/test_primitive_data/test_object_identifier.py/TestObjectIdentifier.test_object_identifier_int/original