Searched refs:PartialSpaceship (Results 1 – 1 of 1) sorted by relevance
88 struct PartialSpaceship { in test() struct90 constexpr bool operator==(const PartialSpaceship&) const = default; in test()91 constexpr std::partial_ordering operator<=>(const PartialSpaceship& other) const { in test() argument96 …assert(synth_three_way(PartialSpaceship{1.0}, PartialSpaceship{1.0}) == std::partial_ordering::equ… in test()97 …assert(synth_three_way(PartialSpaceship{2.0}, PartialSpaceship{1.0}) == std::partial_ordering::gre… in test()98 …assert(synth_three_way(PartialSpaceship{1.0}, PartialSpaceship{2.0}) == std::partial_ordering::les… in test()99 …assert(synth_three_way(PartialSpaceship{nan}, PartialSpaceship{nan}) == std::partial_ordering::uno… in test()100 …SSERT_SAME_TYPE(std::partial_ordering, synth_three_way_result<PartialSpaceship, PartialSpaceship>); in test()