aboutsummaryrefslogtreecommitdiff
path: root/pkg/storage/memstore/memstore_test.go
blob: 07a83e3b4f39a9452b010ca753f9458d213be3f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package memstore

import (
	"testing"

	"github.com/pg9182/atlas/pkg/api/api0/api0testutil"
)

func TestPdataStore(t *testing.T) {
	t.Run("Default", func(t *testing.T) {
		api0testutil.TestPdataStorage(t, NewPdataStore(false))
	})
	t.Run("Compressed", func(t *testing.T) {
		api0testutil.TestPdataStorage(t, NewPdataStore(true))
	})
}