MCPcopy Create free account
hub / github.com/VcDevel/Vc / testBinaryOperatorsImpl

Function testBinaryOperatorsImpl

tests/mask.cpp:327–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326/*}}}*/
327template<typename M1, typename M2> void testBinaryOperatorsImpl()/*{{{*/
328{
329 testLogicalOperatorsImpl<M1, M2>();
330
331 VERIFY((M1(true) & M2(true)).isFull());
332 VERIFY((M1(true) & M2(false)).isEmpty());
333 VERIFY((M1(true) | M2(true)).isFull());
334 VERIFY((M1(true) | M2(false)).isFull());
335 VERIFY((M1(false) | M2(false)).isEmpty());
336 VERIFY((M1(true) ^ M2(true)).isEmpty());
337 VERIFY((M1(true) ^ M2(false)).isFull());
338}
339/*}}}*/
340TEST(testBinaryOperators) /*{{{*/
341{

Callers

nothing calls this directly

Calls 2

isFullMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected