Skip to content

Commit 608785b

Browse files
committed
Use explicit ROOT units in extrusion test.
1 parent 1fa7eef commit 608785b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

geom/test/test_boolean_extrusion.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
TEST(Geometry, NoExtrusionInUnionSpan)
1212
{
1313
// import a GDML geometry with a policone inside a union of two polycones and a tube
14+
TGeoManager::LockDefaultUnits(kFALSE);
15+
TGeoManager::SetDefaultUnits(TGeoManager::kRootUnits);
16+
TGeoManager::LockDefaultUnits(kTRUE);
1417
auto geom = TGeoManager::Import("no_extrusion.gdml");
1518
EXPECT_NE(geom, nullptr);
1619
if (!geom) {

0 commit comments

Comments
 (0)