- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestIntSet (0.08 sec)
-
plugin/pkg/auth/authorizer/node/intset_test.go
See the License for the specific language governing permissions and limitations under the License. */ package node import ( "testing" "github.com/stretchr/testify/assert" ) func TestIntSet(t *testing.T) { i := newIntSet() assert.False(t, i.has(1)) assert.False(t, i.has(2)) assert.False(t, i.has(3)) assert.False(t, i.has(4)) i.reset() i.increment(1) // to 1 i.increment(2) // to 1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 10 18:24:13 UTC 2020 - 1.5K bytes - Viewed (0)