Exemplo n.º 1
0
    def testSByteField(self):
        """Test sbyte fields."""
        object = FieldTest()
        self.failUnless(object.SByteField == 0)

        object.SByteField = 1
        self.failUnless(object.SByteField == 1)
Exemplo n.º 2
0
def test_sbyte_field():
    """Test sbyte fields."""
    ob = FieldTest()
    assert ob.SByteField == 0

    ob.SByteField = 1
    assert ob.SByteField == 1
Exemplo n.º 3
0
    def testSByteField(self):
        """Test sbyte fields."""
        object = FieldTest()
        self.failUnless(object.SByteField == 0)

        object.SByteField = 1
        self.failUnless(object.SByteField == 1)
Exemplo n.º 4
0
def test_sbyte_field():
    """Test sbyte fields."""
    ob = FieldTest()
    assert ob.SByteField == 0

    ob.SByteField = 1
    assert ob.SByteField == 1
Exemplo n.º 5
0
    def test_sbyte_field(self):
        """Test sbyte fields."""
        ob = FieldTest()
        self.assertTrue(ob.SByteField == 0)

        ob.SByteField = 1
        self.assertTrue(ob.SByteField == 1)
Exemplo n.º 6
0
    def testSByteField(self):
        """Test sbyte fields."""
        object = FieldTest()
        self.assertTrue(object.SByteField == 0)

        object.SByteField = 1
        self.assertTrue(object.SByteField == 1)
Exemplo n.º 7
0
    def testSByteField(self):
        """Test sbyte fields."""
        object = FieldTest()
        self.assertTrue(object.SByteField == 0)

        object.SByteField = 1
        self.assertTrue(object.SByteField == 1)