Lines Matching refs:Output
37 template <typename Input1, typename Input2, typename Output>
42 static_assert(std::is_same_v<Output, decltype(std::lcm(value1, value2))>, ""); in test0()
43 static_assert(std::is_same_v<Output, decltype(std::lcm(value2, value1))>, ""); in test0()
44 assert(static_cast<Output>(out) == std::lcm(value1, value2)); in test0()
59 using Output = std::common_type_t<S1, S2>; in do_test() typedef
60 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
61 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
62 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
63 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test()
64 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
65 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
66 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
67 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test()
70 using Output = std::common_type_t<U1, U2>; in do_test() typedef
71 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
72 accumulate &= test0<U2, U1, Output>(TC.x, TC.y, TC.expect); in do_test()
75 using Output = std::common_type_t<S1, U2>; in do_test() typedef
76 accumulate &= test0<S1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
77 accumulate &= test0<U2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
78 accumulate &= test0<S1, U2, Output>(-TC.x, TC.y, TC.expect); in do_test()
79 accumulate &= test0<U2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
82 using Output = std::common_type_t<S2, U1>; in do_test() typedef
83 accumulate &= test0<S2, U1, Output>(TC.x, TC.y, TC.expect); in do_test()
84 accumulate &= test0<U1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
85 accumulate &= test0<S2, U1, Output>(-TC.x, TC.y, TC.expect); in do_test()
86 accumulate &= test0<U1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()