github.com/ethersphere/bee/v2@v2.2.0/pkg/storage/inmemchunkstore/inmemchunkstore_test.go (about) 1 // Copyright 2022 The Swarm Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package inmemchunkstore_test 6 7 import ( 8 "testing" 9 10 inmem "github.com/ethersphere/bee/v2/pkg/storage/inmemchunkstore" 11 "github.com/ethersphere/bee/v2/pkg/storage/storagetest" 12 ) 13 14 func TestChunkStore(t *testing.T) { 15 t.Parallel() 16 17 storagetest.TestChunkStore(t, inmem.New()) 18 } 19 20 func BenchmarkChunkStore(t *testing.B) { 21 storagetest.RunChunkStoreBenchmarkTests(t, inmem.New()) 22 }