Mutare.Mutators.TemporalOrder (mutare v0.4.1)

Copy Markdown View Source

Exchanges temporal ordering predicates:

  • Date.before? ↔ Date.after?
  • Time.before? ↔ Time.after?
  • DateTime.before? ↔ DateTime.after?
  • NaiveDateTime.before? ↔ NaiveDateTime.after?

These calls express the same polarity as < and > for calendar/time structs. Swapping the predicate tests whether a suite covers the ordering direction rather than only equality or same-side examples.

Direct, aliased, and imported calls are supported. An alias that resolves to another module does not match. This family is enabled by default.