mirror of
https://github.com/boostorg/utility.git
synced 2025-08-02 14:24:30 +02:00
More testcases
[SVN r341]
This commit is contained in:
@@ -79,6 +79,16 @@ int main()
|
||||
assert(x || z == indeterminate);
|
||||
assert(y || z);
|
||||
|
||||
assert(indeterminate(y && indeterminate));
|
||||
assert(indeterminate(indeterminate && y));
|
||||
assert(!(x && indeterminate));
|
||||
assert(!(indeterminate && x));
|
||||
|
||||
assert(indeterminate || y);
|
||||
assert(y || indeterminate);
|
||||
assert(indeterminate(x || indeterminate));
|
||||
assert(indeterminate(indeterminate || x));
|
||||
|
||||
std::cout << "no errors detected\n";
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user