mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-29 06:37:17 +00:00
9b6f224f83
Former-commit-id: 50c0ab4bad92d27bf980e83e64088940544e94c2 [formerly 5dbfb91e925f14a743390f7da6bb2db1a30371db] Former-commit-id: 66fb852ec273f74baaaf25b5a80987ac284c56ee
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)
|
|
}
|
|
}
|