Skip to content

Commit

Permalink
Minor: Rearange imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pastc committed Mar 8, 2024
1 parent d9c96bc commit d2c192d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion crash.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package vero

import (
"github.com/pastc/vero/internal"
"math"
"strconv"

"github.com/pastc/vero/internal"
)

// houseEdge i.e, percentage that the house gets
Expand Down
6 changes: 3 additions & 3 deletions crash_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package vero

import (
"fmt"
"github.com/pastc/vero/internal"
"strconv"
"testing"

"github.com/pastc/vero/internal"
)

func TestCrash(t *testing.T) {
Expand All @@ -25,7 +25,7 @@ func TestCrash(t *testing.T) {
}

for _, tt := range tests {
t.Run(fmt.Sprintf("%s", tt.serverSeed), func(t *testing.T) {
t.Run(tt.serverSeed, func(t *testing.T) {
value, err := Crash(tt.serverSeed, houseEdge)
if err != nil {
t.Fatalf("got %v", err)
Expand Down
3 changes: 2 additions & 1 deletion dice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package vero

import (
"fmt"
"github.com/pastc/vero/internal"
"strconv"
"testing"

"github.com/pastc/vero/internal"
)

func TestDice(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion plinko.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package vero

import (
"github.com/pastc/vero/internal"
"math"
"strconv"

"github.com/pastc/vero/internal"
)

// Plinko generates the column number that the ball landed on
Expand Down
3 changes: 2 additions & 1 deletion plinko_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package vero

import (
"fmt"
"github.com/pastc/vero/internal"
"strconv"
"testing"

"github.com/pastc/vero/internal"
)

func TestPlinko(t *testing.T) {
Expand Down

0 comments on commit d2c192d

Please sign in to comment.