mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
ed5a5c154d
Move to a monorepo structure with submodules - Rename status-protocol-go to status-go/protocol
13 lines
226 B
Go
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)
|
|
}
|