Example #1
0
func TestTableStoreSliceIDs(t *testing.T) {
	ids := testStores.IDs()
	assert.NotNil(t, ids)
	assert.Equal(t, utils.Int64Slice{0, 5, 1, 4, 2, 6, 3}, ids)

	var ts = store.TableStoreSlice{}
	assert.Nil(t, ts.IDs())
}