@@ -0,0 +1,747 @@
+import sys%0Aimport unittest%0Afrom dynd import nd, ndt%0A%0Aclass TestNumpyCompat(unittest.TestCase):%0A    %22%22%22%0A    Tests to validate interface intended to provide compatibility with the%0A    NumPy interface.%0A    %22%22%22%0A    def setUp(self):%0A        if sys.byteorder == 'little':%0A            self.nonnative = '%3E'%0A        else:%0A            self.nonnative = '%3C'%0A%0A    def test_array_attributes(self):%0A        a = nd.zeros(3, 5, ndt.int32)%0A        # Property %22ndim%22%0A        self.assertEqual(a.ndim, 2)%0A        # Property %22shape%22%0A        self.assertEqual(a.shape, (3, 5))%0A        # Property %22strides%22%0A        self.assertEqual(a.strides, (20, 4))%0A        # Property %22dtype%22%0A        self.assertEqual(a.dtype, ndt.int32)%0A%0Aif __name__ == '__main__':%0A    unittest.main()%0A

Add a test for validating numpy compatibility choices