示例#1
0
	def test_notNone(self):
		a = self._type(self._a)

		util.assertTreesDifferent(a, None, "An instance should not claim to be None")
示例#2
0
    def test_model_different(self):
        expectedTree = self.buildSimpleTree()
        actualTree = Value(4)

        util.assertTreesDifferent(expectedTree, actualTree)
示例#3
0
	def test_notEquals(self):
		a = self._type(self._a)
		b = self._type(self._b)

		util.assertTreesDifferent(a, b, "Two instances with the different values (%s, %s) should not be equal" % (self._a, self._b))