mirror of https://bitbucket.org/ausocean/av.git
filter: create function for satisfying circleci tests
This commit is contained in:
parent
ced8727c07
commit
458933babb
|
@ -36,6 +36,12 @@ func NewMOGFilter(dst io.WriteCloser, area, threshold float64, history int, debu
|
|||
return &NoOp{dst: dst}
|
||||
}
|
||||
|
||||
// NewKNNFilter returns a pointer to a new NoOp struct for testing purposes only.
|
||||
func NewKNNFilter(dst io.WriteCloser, area, threshold float64, history, kernelSize int, debug bool, hf int) *NoOp {
|
||||
return &NoOp{dst: dst}
|
||||
}
|
||||
|
||||
// NewDiffFilter returns a pointer to a new NoOp struct for testing purposes only.
|
||||
func NewDiffFilter(dst io.WriteCloser, debug bool, threshold float64) *NoOp {
|
||||
return &NoOp{dst: dst}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue