MCPcopy Create free account
hub / github.com/featureform/featureform / TestStringSetEmptySetA

Function TestStringSetEmptySetA

helpers/string_set/string_set_test.go:31–41  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

29}
30
31func TestStringSetEmptySetA(t *testing.T) {
32 setA := StringSet{}
33 setB := StringSet{"a": true, "c": false}
34
35 expected := false
36 actual := setA.Contains(setB)
37
38 if expected != actual {
39 t.Errorf("Expected empty set A not to contain set B, but instead received: %v", actual)
40 }
41}
42
43func TestStringSetEmptySetB(t *testing.T) {
44 setA := StringSet{"a": true, "c": false}

Callers

nothing calls this directly

Calls 1

ContainsMethod · 0.95

Tested by

no test coverage detected