status-go/protocol/v1/clock_test.go
Pedro Pombeiro ed5a5c154d
Move to monorepo structure (#1684)
Move to a monorepo structure with submodules

- Rename status-protocol-go to status-go/protocol
2019-11-21 17:19:22 +01:00

13 lines
226 B
Go

package protocol
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestCalcMessageClockWithoutLastObservedValue(t *testing.T) {
result := CalcMessageClock(0, 1)
require.Equal(t, clockBumpInMs+1, result)
}