mirror of
https://github.com/unittest-cpp/unittest-cpp
synced 2026-09-26 16:19:30 +03:00
fixup! Implement CHECK_ARRAY2D_CLOSE_DESCRIBED macro
This commit is contained in:
parent
041a5480b5
commit
e991bec563
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ TEST(Array2dCloseSucceeds)
|
|||
|
||||
TEST(CanUseCheckArray2dCloseDescribedToGetCustomFailureMessage)
|
||||
{
|
||||
float const x[][3] = {{1, 2.01f, 3}, {4, 5.01, 6}};
|
||||
float const x[][3] = {{1, 2.01f, 3}, {4, 5.01f, 6}};
|
||||
float const expected[][3] = {{1, 2, 3}, {4, 5, 6}};
|
||||
CHECK_ARRAY2D_CLOSE_DESCRIBED(expected, x, 2, 3, 0.1f, "x is not correct, have you checked the flux capacitor?");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue