Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for quantity_greater (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go

    			expectValue: trueVal,
    		},
    		{
    			name:        "quantity_less_false",
    			expr:        `quantity("100M").isLessThan(quantity("50M"))`,
    			expectValue: falseVal,
    		},
    		{
    			name:        "quantity_greater",
    			expr:        `quantity("50Mi").isGreaterThan(quantity("50M"))`,
    			expectValue: trueVal,
    		},
    		{
    			name:        "quantity_greater_obvious",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    			expr:                `quantity("50M").isLessThan(quantity("50Mi"))`,
    			expectEstimatedCost: checker.CostEstimate{Min: 3, Max: 3},
    			expectRuntimeCost:   3,
    		},
    		{
    			name:                "quantity_greater",
    			expr:                `quantity("50Mi").isGreaterThan(quantity("50M"))`,
    			expectEstimatedCost: checker.CostEstimate{Min: 3, Max: 3},
    			expectRuntimeCost:   3,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
Back to top