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

Function TestStringSetEmptySetB

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

Source from the content-addressed store, hash-verified

41}
42
43func TestStringSetEmptySetB(t *testing.T) {
44 setA := StringSet{"a": true, "c": false}
45 setB := StringSet{}
46
47 expected := true
48 actual := setA.Contains(setB)
49
50 if expected != actual {
51 t.Errorf("Expected set A to contain empty set B, but instead received: %v", actual)
52 }
53}

Callers

nothing calls this directly

Calls 1

ContainsMethod · 0.95

Tested by

no test coverage detected