(self)
| 246 | assert np.all(self.SONify(np.asarray([[1, 2], [3, 4]])) == [[1, 2], [3, 4]]) |
| 247 | |
| 248 | def test_np_2d_float(self): |
| 249 | assert np.all(self.SONify(np.asarray([[1, 2], [3, 4.5]])) == [[1, 2], [3, 4.5]]) |
| 250 | |
| 251 | def test_nested_w_bool(self): |
| 252 | thing = dict(a=1, b="2", c=True, d=False, e=int(3), f=[1]) |