mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-31 23:41:22 +00:00
17 lines
328 B
Go
17 lines
328 B
Go
|
package sharding
|
||
|
|
||
|
import (
|
||
|
"math/big"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestDepositSize(t *testing.T) {
|
||
|
want, err := new(big.Int).SetString("100000000000000000000", 10) // 100 ETH
|
||
|
if !err {
|
||
|
t.Fatalf("Failed to setup test")
|
||
|
}
|
||
|
if depositSize.Cmp(want) != 0 {
|
||
|
t.Errorf("depositSize incorrect. Wanted %d, got %d", want, depositSize)
|
||
|
}
|
||
|
}
|