mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
18 lines
420 B
Go
18 lines
420 B
Go
|
package ethutil
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"math/big"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestCommon(t *testing.T) {
|
||
|
fmt.Println(CurrencyToString(BigPow(10, 19)))
|
||
|
fmt.Println(CurrencyToString(BigPow(10, 16)))
|
||
|
fmt.Println(CurrencyToString(BigPow(10, 13)))
|
||
|
fmt.Println(CurrencyToString(BigPow(10, 10)))
|
||
|
fmt.Println(CurrencyToString(BigPow(10, 7)))
|
||
|
fmt.Println(CurrencyToString(BigPow(10, 4)))
|
||
|
fmt.Println(CurrencyToString(big.NewInt(10)))
|
||
|
}
|