comparator: add test for self equality failure

This commit is contained in:
Danny Robson 2017-06-29 15:27:16 +10:00
parent 0eaec8ad65
commit 96c80ecea5

View File

@ -20,5 +20,10 @@ main (int, char**)
"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 ();
}