INNER CODE UNIT · Go
TestClient_Posting_PostsOnlyWhenQueueThresholdIsReached
samsara/samsara · clients/go/client_test.go:327
func TestClient_Posting_PostsOnlyWhenQueueThresholdIsReached(t *testing.T) {
sets := []struct {
threshold int64
wantPush bool
}{
{
1,
true,
},
{
2,
true,
},
{
3,
false,
},
}