def test_numpy_slices_dict_1():
    logger.info('Test Dictionary structure data.')
    np_data = {'a': [1, 2], 'b': [3, 4]}
    ds = de.NumpySlicesDataset(np_data, shuffle=False)
    res = [[1, 3], [2, 4]]
    for (i, data) in enumerate(ds):
        assert (data[0] == res[i][0])
        assert (data[1] == res[i][1])
def test_numpy_slices_dict_1():
    logger.info('Test Dictionary structure data.')
    np_data = {'a': [1, 2], 'b': [3, 4]}
    ds = de.NumpySlicesDataset(np_data, shuffle=False)
    res = [[1, 3], [2, 4]]
    for (i, data) in enumerate(ds):
        assert (data[0] == res[i][0])
        assert (data[1] == res[i][1])