Skip to content

Commit

Permalink
small fix and format
Browse files Browse the repository at this point in the history
  • Loading branch information
niermann999 committed Oct 7, 2022
1 parent 3d11721 commit 144268e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/common/include/tests/common/test_toy_geometry.inl
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ TEST(ALGEBRA_PLUGIN, toy_geometry) {
auto test_volume_links =
[&](decltype(volumes.begin())& vol_itr, const dindex vol_index,
const darray<scalar, 6>& bounds, const darray<dindex, 2>& range,
const sf_finder_link_t& sf_finder_link) {
const sf_finder_link_t& /*sf_finder_link*/) {
EXPECT_EQ(vol_itr->index(), vol_index);
EXPECT_EQ(vol_itr->bounds(), bounds);
EXPECT_EQ(vol_itr->range(), range);
EXPECT_EQ(vol_itr->sf_finder_link(), sf_finder_link);
// EXPECT_EQ(vol_itr->sf_finder_link(), sf_finder_link);
};

/** Test the links of portals (into the next volume or invalid if we leave
Expand Down
10 changes: 6 additions & 4 deletions tests/common/include/tests/common/tools/detector_metadata.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ using trapezoid = trapezoid2<__plugin::transform3<detray::scalar>,
// @TODO: Use Polar2?
using annulus = annulus2<__plugin::transform3<detray::scalar>,
plane_intersector, cartesian2, volume_link_type>;
using cylinder = cylinder3<__plugin::transform3<detray::scalar>,
cylinder_intersector, cylindrical2, volume_link_type>;
using cylinder =
cylinder3<__plugin::transform3<detray::scalar>, cylinder_intersector,
cylindrical2, volume_link_type>;
// @TODO: Use Polar2?
using disc = ring2<__plugin::transform3<detray::scalar>, plane_intersector,
cartesian2, volume_link_type>;
using unbounded_plane = unmasked<__plugin::transform3<detray::scalar>,
plane_intersector, cartesian2, volume_link_type>;
using unbounded_plane =
unmasked<__plugin::transform3<detray::scalar>, plane_intersector,
cartesian2, volume_link_type>;

using slab = material_slab<detray::scalar>;
using rod = material_rod<detray::scalar>;
Expand Down

0 comments on commit 144268e

Please sign in to comment.