Commit bbb8032c authored by Jan Mercl's avatar Jan Mercl

Fix pi.

parent b2f743b7
......@@ -219,7 +219,7 @@ func TestSetGet0(t *testing.T) {
func TestSetGet1(t *testing.T) {
const N = 100000
for _, x := range []int{0, -1, 0x555555, 0xaaaaaa, 0x333333, 0xcccccc, 0x314259} {
for _, x := range []int{0, -1, 0x555555, 0xaaaaaa, 0x333333, 0xcccccc, 0x314159} {
r := TreeNew(cmp)
set := r.Set
a := make([]int, N)
......@@ -393,7 +393,7 @@ func benchmarkGetRnd(b *testing.B, n int) {
func TestSetGet2(t *testing.T) {
const N = 80000
for _, x := range []int{0, -1, 0x555555, 0xaaaaaa, 0x333333, 0xcccccc, 0x314259} {
for _, x := range []int{0, -1, 0x555555, 0xaaaaaa, 0x333333, 0xcccccc, 0x314159} {
r := TreeNew(cmp)
set := r.Set
a := make([]int, N)
......@@ -539,7 +539,7 @@ func TestDelete0(t *testing.T) {
func TestDelete1(t *testing.T) {
const N = 130000
for _, x := range []int{0, -1, 0x555555, 0xaaaaaa, 0x333333, 0xcccccc, 0x314259} {
for _, x := range []int{0, -1, 0x555555, 0xaaaaaa, 0x333333, 0xcccccc, 0x314159} {
r := TreeNew(cmp)
set := r.Set
a := make([]int, N)
......@@ -638,7 +638,7 @@ func benchmarkDelRnd(b *testing.B, n int) {
func TestDelete2(t *testing.T) {
const N = 100000
for _, x := range []int{0, -1, 0x555555, 0xaaaaaa, 0x333333, 0xcccccc, 0x314259} {
for _, x := range []int{0, -1, 0x555555, 0xaaaaaa, 0x333333, 0xcccccc, 0x314159} {
r := TreeNew(cmp)
set := r.Set
a := make([]int, N)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment