def test_string_codec(): x = np.array(['foo_1', 'foo_2', 'foo_3'], dtype='str') y = npnet.OneDimensionStringArray(x) __check(x, y)
def test_float64_codec(): x = np.array([1, 2, 3], dtype='float64') y = npnet.OneDimensionFloat64Array(x) __check(x, y)
def test_int32_codec(): x = np.array([1, 2, 3]) y = npnet.OneDimensionInt32Array(x) __check(x, y)
def test_uint64_codec(): x = np.array([1, 2, 3], dtype='uint64') y = npnet.OneDimensionUInt64Array(x) __check(x, y)
def test_int16_codec(): x = np.array([1, 2, 3], dtype='int16') y = npnet.OneDimensionInt16Array(x) __check(x, y)