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