static::
assertFalse($match);
} } /**
* @return \Traversable<list<mixed>>
*/
public static function getCaseTestMatchValues(): \Traversable
{ $datetime = self::
getTestTimestamp();
$dayTest =
$datetime->
modify('-30 minutes'
);
yield 'operator_eq / not match / day passed / day' =>
[Rule::OPERATOR_EQ, false, 1.2,
$dayTest];
yield 'operator_eq / match / day passed / day' =>
[Rule::OPERATOR_EQ, true, 0,
$dayTest];
yield 'operator_neq / match / day passed / day' =>
[Rule::OPERATOR_NEQ, true, 1,
$dayTest];
yield 'operator_neq / not match / day passed/ day' =>
[Rule::OPERATOR_NEQ, false, 0,
$dayTest];
yield 'operator_lte_lt / not match / day passed / day' =>
[Rule::OPERATOR_LTE, false, -1.1,
$dayTest];
yield 'operator_lte_lt / match / day passed/ day' =>
[Rule::OPERATOR_LTE, true, 1,
$dayTest];
yield 'operator_lte_e / match / day passed/ day' =>
[Rule::OPERATOR_LTE, true, 0,
$dayTest];
yield 'operator_gte_gt / not match / day passed/ day' =>
[Rule::OPERATOR_GTE, false, 1,
$dayTest];
yield 'operator_gte_gt / match / day passed / day' =>
[Rule::OPERATOR_GTE, true, -1,
$dayTest];
yield 'operator_gte_e / match / day passed / day' =>
[Rule::OPERATOR_GTE, true, 0,
$dayTest];