goldsmith/filters/depth/depth_test.go

49 lines
665 B
Go
Raw Normal View History

2024-04-16 03:52:36 +00:00
package depth
import (
"testing"
"git.foosoft.net/alex/goldsmith"
"git.foosoft.net/alex/goldsmith/harness"
)
func Test0(t *testing.T) {
harness.ValidateCase(
t,
"test_0",
func(gs *goldsmith.Goldsmith) {
gs.FilterPush(New(0))
},
)
}
func Test1(t *testing.T) {
harness.ValidateCase(
t,
"test_1",
func(gs *goldsmith.Goldsmith) {
gs.FilterPush(New(1))
},
)
}
func Test2(t *testing.T) {
harness.ValidateCase(
t,
"test_2",
func(gs *goldsmith.Goldsmith) {
gs.FilterPush(New(2))
},
)
}
func Test10(t *testing.T) {
harness.ValidateCase(
t,
"test_10",
func(gs *goldsmith.Goldsmith) {
gs.FilterPush(New(10))
},
)
}