comparator: add test for self equality failure
This commit is contained in:
parent
0eaec8ad65
commit
96c80ecea5
@ -20,5 +20,10 @@ main (int, char**)
|
|||||||
"compare initializer_list as a coordinate, failure"
|
"compare initializer_list as a coordinate, failure"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
tap.expect (
|
||||||
|
!util::comparator::indexed<decltype (a)> ()(a, a),
|
||||||
|
"self compare initializer_list as a coordinate, failure"
|
||||||
|
);
|
||||||
|
|
||||||
return tap.status ();
|
return tap.status ();
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user