Skip to content

Commit 2445bff

Browse files
authored
Update GIT_TAG for ipc_toolkit_tests_data and modify expected output in normal collisions test (#185)
1 parent 0e27555 commit 2445bff

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

cmake/ipc_toolkit/ipc_toolkit_tests_data.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ else()
3030
SOURCE_DIR ${IPC_TOOLKIT_TESTS_DATA_DIR}
3131

3232
GIT_REPOSITORY https://github.com/ipc-sim/ipc-toolkit-tests-data.git
33-
GIT_TAG 333aed25f87c5820bec8a7f82d7959ff87a9a502
33+
GIT_TAG 0c6ce752d020db32f62da37d7b8ca9f73c204b36
3434

3535
CONFIGURE_COMMAND ""
3636
BUILD_COMMAND ""

tests/src/tests/collisions/test_normal_collisions.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -353,12 +353,12 @@ TEST_CASE("NormalCollisions::to_string", "[collisions]")
353353
std::string s = collisions.to_string(mesh, vertices);
354354

355355
CHECK(s == R"ipc_Qu8mg5v7(
356-
vv: 1 5, w: 1, d: 0.000913492
357-
vv: 160 163, w: 1, d: 0.000277936
358-
ev: 14=(24, 46) 205, w: 0.0140559, d: 0.00500364
359-
ev: 719=(237, 261) 128, w: 0.0122856, d: 0.00727213
360-
ee: 14=(24, 46) 456=(161, 205), w: -0.00297853, dtype: 0, d: 0.00538125
361-
ee: 346=(76, 128) 718=(236, 261), w: -0.00328539, dtype: 5, d: 0.00717647
362-
fv: 17=(46, 24, 72) 205, w: 0.0137957, d: 0.00500269
363-
fv: 471=(155, 238, 259) 64, w: 0.0160469, d: 0.00639199)ipc_Qu8mg5v7");
356+
vv: 4 140, w: -0.0128182, d: 0.00568928
357+
vv: 119 243, w: -0.0263598, d: 0.00727215
358+
ev: 14=(18, 37) 187, w: 0.0140559, d: 0.00500364
359+
ev: 719=(219, 243) 119, w: 0.0122856, d: 0.00727213
360+
ee: 14=(18, 37) 456=(144, 187), w: -0.00297852, dtype: 0, d: 0.00538125
361+
ee: 346=(67, 119) 718=(218, 243), w: -0.00328539, dtype: 5, d: 0.00717647
362+
fv: 17=(37, 18, 63) 187, w: 0.0137957, d: 0.00500269
363+
fv: 471=(140, 220, 241) 55, w: 0.0160469, d: 0.006392)ipc_Qu8mg5v7");
364364
}

0 commit comments

Comments
 (0)