Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
steffnova committed Jun 1, 2023
1 parent afec193 commit 6d2a995
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions generator/weighted.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,6 @@ import (
"github.com/steffnova/go-check/constraints"
)

type weightedGenerator struct {
weight uint64
generator arbitrary.Generator
}

// func Weighted2(weight uint64, generator arbitrary.Generator) weightedarbitrary.Generator {
// return weightedarbitrary.Generator{
// weight: weight,
// generator: generator,
// }
// }

// Weighted returns one of the generators based on their weight. Weights and
// generators are specified by "weights" and "generators" parameters respectively.
// Number of weights and generators must be the same and greater than 0. Total sum
Expand Down

0 comments on commit 6d2a995

Please sign in to comment.