Searched refs:QR (Results 1 – 1 of 1) sorted by relevance
554 struct QR { in TEST() struct557 QR(int q, int r) noexcept : quotient(q), remainder(r) {} in TEST() argument558 bool operator==(const QR& rhs) const { in TEST() argument561 bool operator!=(const QR& rhs) const { in TEST() argument566 auto divide = [](int x, int y) -> expected<QR,E> { in TEST()570 return QR(x / y, x % y); in TEST()579 EXPECT_EQ(QR(3, 1), *divide(10, 3)); in TEST()