Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-10-25 07:56:57

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 #include <boost/test/unit_test.hpp>
0010 
0011 #include "Acts/Material/ProtoVolumeMaterial.hpp"
0012 #include "Acts/Utilities/BinUtility.hpp"
0013 #include "Acts/Utilities/BinningType.hpp"
0014 
0015 #include <utility>
0016 
0017 using namespace Acts;
0018 
0019 namespace ActsTests {
0020 
0021 BOOST_AUTO_TEST_SUITE(MaterialSuite)
0022 
0023 /// Test the constructors
0024 BOOST_AUTO_TEST_CASE(ProtoVolumeMaterial_construction_test) {
0025   BinUtility vmpBU(10, -10., 10., open, AxisDirection::AxisX);
0026   vmpBU += BinUtility(10, -10., 10., open, AxisDirection::AxisY);
0027   vmpBU += BinUtility(10, -10., 10., open, AxisDirection::AxisZ);
0028 
0029   // Constructor from arguments
0030   ProtoVolumeMaterial vmp(vmpBU);
0031   // Copy constructor
0032   ProtoVolumeMaterial vmpCopy(vmp);
0033   // Copy move constructor
0034   ProtoVolumeMaterial vmpCopyMoved(std::move(vmpCopy));
0035 }
0036 
0037 BOOST_AUTO_TEST_SUITE_END()
0038 
0039 }  // namespace ActsTests