arithmetic.tentative.any.html

PASSExpected67 of 67 subtests pass786 ms

Details

Test
/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSCalling CSSUnitValue.add with no arguments returns itself
PASSCalling CSSMathValue.add with no arguments returns itself
PASSCalling CSSNumericValue.add with a single CSSNumericValue returns correct type
PASSCalling CSSMathValue.add with a single CSSNumericValue returns correct type
PASSCalling CSSNumericValue.add with more than one number CSSNumericValues returns correct type
PASSCalling CSSNumericValue.add can take numberish values
PASSCalling CSSMathSum.add with number CSSUnitValues simplifies to a CSSUnitValue
PASSCalling CSSNumericValue.add with incompatible types throws TypeError
PASSCalling CSSUnitValue.sub with no arguments returns itself
PASSCalling CSSMathValue.sub with no arguments returns itself
PASSCalling CSSNumericValue.sub with a single CSSNumericValue returns correct type
PASSCalling CSSMathValue.sub with a single CSSNumericValue returns correct type
PASSCalling CSSNumericValue.sub with more than one number CSSNumericValues returns correct type
PASSCalling CSSNumericValue.sub can take numberish values
PASSCalling CSSMathSum.sub with number CSSUnitValues simplifies to a CSSUnitValue
PASSCalling CSSNumericValue.sub with incompatible types throws TypeError
PASSCalling CSSUnitValue.mul with no arguments returns itself
PASSCalling CSSMathValue.mul with no arguments returns itself
PASSCalling CSSNumericValue.mul with a single CSSNumericValue returns correct type
PASSCalling CSSMathValue.mul with a single CSSNumericValue returns correct type
PASSCalling CSSNumericValue.mul with more than one number CSSNumericValues returns correct type
PASSCalling CSSNumericValue.mul can take numberish values
PASSCalling CSSMathProduct.mul with number CSSUnitValues simplifies to a CSSUnitValue
PASSCalling CSSNumericValue.mul with incompatible types throws TypeError
PASSCalling CSSUnitValue.div with no arguments returns itself
PASSCalling CSSMathValue.div with no arguments returns itself
PASSCalling CSSNumericValue.div with a single CSSNumericValue returns correct type
PASSCalling CSSMathValue.div with a single CSSNumericValue returns correct type
PASSCalling CSSNumericValue.div with more than one number CSSNumericValues returns correct type
PASSCalling CSSNumericValue.div can take numberish values
PASSCalling CSSMathProduct.div with number CSSUnitValues simplifies to a CSSUnitValue
PASSCalling CSSNumericValue.div with incompatible types throws TypeError
PASSCalling CSSUnitValue.min with no arguments returns itself
PASSCalling CSSMathValue.min with no arguments returns itself
PASSCalling CSSNumericValue.min with a single CSSNumericValue returns correct type
PASSCalling CSSMathValue.min with a single CSSNumericValue returns correct type
PASSCalling CSSNumericValue.min with more than one number CSSNumericValues returns correct type
PASSCalling CSSNumericValue.min can take numberish values
PASSCalling CSSMathMin.min with number CSSUnitValues simplifies to a CSSUnitValue
PASSCalling CSSNumericValue.min with incompatible types throws TypeError
PASSCalling CSSUnitValue.max with no arguments returns itself
PASSCalling CSSMathValue.max with no arguments returns itself
PASSCalling CSSNumericValue.max with a single CSSNumericValue returns correct type
PASSCalling CSSMathValue.max with a single CSSNumericValue returns correct type
PASSCalling CSSNumericValue.max with more than one number CSSNumericValues returns correct type
PASSCalling CSSNumericValue.max can take numberish values
PASSCalling CSSMathMax.max with number CSSUnitValues simplifies to a CSSUnitValue
PASSCalling CSSNumericValue.max with incompatible types throws TypeError
PASSCalling CSSUnitValue.add with CSSUnitValues with same unit simplifies to a CSSUnitValue
PASSCalling CSSUnitValue.sub with CSSUnitValues with same unit simplifies to a CSSUnitValue
PASSCalling CSSUnitValue.mul with all numbers simplifies to a CSSUnitValue
PASSCalling CSSUnitValue.mul with only one non-number simplifies to a CSSUnitValue
PASSCalling CSSUnitValue.mul with more than one non-number does not simplify to a CSSUnitValue
PASSCalling CSSUnitValue.div with all numbers simplifies to a CSSUnitValue
PASSCalling CSSUnitValue.div on a non-number value simplifies to a CSSUnitValue
PASSCalling CSSUnitValue.div with a non-number value in the arguments does not simplify to a CSSUnitValue
PASSCalling CSSUnitValue.min with CSSUnitValues with same unit simplifies to a CSSUnitValue
PASSCalling CSSUnitValue.max with CSSUnitValues with same unit simplifies to a CSSUnitValue
PASSCalling CSSNumericValue.sub negates all argument values
PASSCalling CSSNumericValue.div inverts all argument values
PASSCan not divide with CSSUnitValue which has zero value and number type
PASSCSSNumericValue.add should throw TypeError when the types are different.
PASSCSSNumericValue.sub should throw TypeError when the types are different.
PASSCSSNumericValue.max should throw TypeError when the types are different.
PASSCSSNumericValue.min should throw TypeError when the types are different.
PASSCSSNumericValue.mul should throw TypeError when the types are different.
PASSCSSNumericValue.div should throw TypeError when the types are different.