blob: fd99eb4c3f72312c09e6179265aae0ce79f5122b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
function(EXPECT_TRUE output data reference)
if (NOT output)
message(SEND_ERROR "'${data}' not equal to '${reference}'")
endif()
endfunction()
function(EXPECT_FALSE output data reference)
if (output)
message(SEND_ERROR "'${data}' equal to '${reference}'")
endif()
endfunction()
|