1package lamport
2
3import (
4 "testing"
5
6 "github.com/go-git/go-billy/v5/memfs"
7 "github.com/stretchr/testify/require"
8)
9
10func TestPersistedClock(t *testing.T) {
11 root := memfs.New()
12
13 c, err := NewPersistedClock(root, "test-clock")
14 require.NoError(t, err)
15
16 testClock(t, c)
17}