Commit 9ee9b22b authored by John (J5) Palmieri's avatar John (J5) Palmieri
Browse files

add test for object arrays

parent c9d9ffd0
......@@ -466,3 +466,9 @@ class TestTortureProfile(unittest.TestCase):
print("\t====")
print("\tTotal: %f sec" % total_time)
class TestAdvancedInterfaces(unittest.TestCase):
def test_array_objs(self):
obj1, obj2 = Everything.test_array_fixed_out_objects()
self.assertTrue(isinstance(obj1, Everything.TestObj))
self.assertTrue(isinstance(obj2, Everything.TestObj))
self.assertNotEqual(obj1, obj2)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment