2021-12-25 02:16:58 +01:00
|
|
|
package wallet
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Test stubs for now
|
|
|
|
|
|
|
|
func TestWalletSequence(t *testing.T) {
|
2022-06-07 19:25:14 +02:00
|
|
|
t.Fatalf("Test me: test that walletState.Sequence() == walletState.lastSynced[wallet.DeviceId]")
|
2021-12-25 02:16:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func TestWalletValidateWalletState(t *testing.T) {
|
2022-06-07 19:25:14 +02:00
|
|
|
// walletState.DeviceId in walletState.lastSynced
|
2021-12-25 02:16:58 +01:00
|
|
|
// Sequence for lastSynced all > 1
|
|
|
|
t.Fatalf("Test me: Implement and test validateWalletState.")
|
|
|
|
}
|
|
|
|
|
|
|
|
// TODO - other wallet integrity stuff? particularly related to sequence?
|