consensus/utils/number_test.go
2022-10-08 20:55:01 +02:00

13 lines
142 B
Go

package utils
import "testing"
func TestNumber(t *testing.T) {
s := "S"
n := uint64(28)
if DecodeBinaryNumber(s) != n {
t.Fail()
}
}