2
0
mirror of https://github.com/status-im/status-go.git synced 2025-03-02 07:30:49 +00:00

13 lines
226 B
Go
Raw Normal View History

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