Skip to content

Commit 0f9ed33

Browse files
committed
fix this test
1 parent 87f7f58 commit 0f9ed33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Framework/Geometry/test/GridDetectorTest.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ class GridDetectorTest : public CxxTest::TestSuite {
198198

199199
void do_test_bounds(const GridDetector &det) {
200200
// Go out of bounds
201-
TS_ASSERT_THROWS(det.getDetectorIDAtXYZ(-1, 0, 0), const std::runtime_error &);
202-
TS_ASSERT_THROWS(det.getDetectorIDAtXYZ(0, -1, 0), const std::runtime_error &);
203-
TS_ASSERT_THROWS(det.getDetectorIDAtXYZ(100, 0, 0), const std::runtime_error &);
204-
TS_ASSERT_THROWS(det.getDetectorIDAtXYZ(0, 205, 0), const std::runtime_error &);
201+
TS_ASSERT_THROWS(det.getAtXYZ(-1, 0, 0), const std::runtime_error &);
202+
TS_ASSERT_THROWS(det.getAtXYZ(0, -1, 0), const std::runtime_error &);
203+
TS_ASSERT_THROWS(det.getAtXYZ(100, 0, 0), const std::runtime_error &);
204+
TS_ASSERT_THROWS(det.getAtXYZ(0, 205, 0), const std::runtime_error &);
205205
}
206206

207207
void do_test_ids(const GridDetector &det) {

0 commit comments

Comments
 (0)