package optional_test import ( "testing" "xengineering.eu/optional-go/optional" ) func TestDefault(t *testing.T) { var o optional.Optional[bool] if o.Exists { t.Fatal("Empty optional claims to exist.") } }