Пример #1
0
    def test19_object_validity(self):
        """Object validity checking"""

        from cppyy import gbl

        d = gbl.CppyyTestPod()

        assert d
        assert not not d

        d2 = gbl.get_null_pod()

        assert not d2
Пример #2
0
    def test18_object_validity(self):
        """Test object validity checking"""

        from cppyy import gbl

        d = gbl.CppyyTestPod()

        assert d
        assert not not d

        d2 = gbl.get_null_pod()

        assert not d2
Пример #3
0
    def test18_object_validity(self):
        """Test object validity checking"""
        
        from cppyy import gbl

        d = gbl.cppyy_test_pod()
                     
        assert d
        assert not not d

        d2 = gbl.get_null_pod()

        assert not d2