prysm-pulse/sharding/config_test.go
Preston Van Loon 7df6110eff Working on testing after refactoring
Former-commit-id: a85e9b33e2895c403e625a650fca1d530a0f8230 [formerly f258e65dfbdcde622dcdb3e74b24f8dea33c6751]
Former-commit-id: 94c5da680fdf74217500980089837e7c336d93a4
2018-03-31 17:48:57 -04:00

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)
}
}