You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
295 B
13 lines
295 B
2 years ago
|
|
||
|
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()
|