update numbuf (#392)

* update numbuf

* Augment serialization tests.
This commit is contained in:
Philipp Moritz
2016-08-25 20:05:48 -07:00
committed by Robert Nishihara
parent 420bcc0477
commit 93e6c9947b
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -15,7 +15,8 @@ RAY_TEST_OBJECTS = [[1, "hello", 3.0], 42, 43L, "hello world", 42.0, 1L << 62,
(1.0, "hi"), None, (None, None), ("hello", None),
True, False, (True, False), u"\u262F",
{True: "hello", False: "world"},
{"hello" : "world", 1: 42, 1.0: 45}, {},
{"hello" : "world", 1: 42, 1.0: 45}, {}, {(): ()},
{(1, 2): 1}, {(): [1, 2, "hi"]}, (), [], [()], ((),),
np.int8(3), np.int32(4), np.int64(5),
np.uint8(3), np.uint32(4), np.uint64(5),
np.float32(1.0), np.float64(1.0)]