Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-10-18 08:22:38

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/ProtoSurfaceMaterial.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(ProtoSurfaceMaterial_construction_test) {
0025   BinUtility smpBU(10, -10., 10., open, AxisDirection::AxisX);
0026   smpBU += BinUtility(10, -10., 10., open, AxisDirection::AxisY);
0027 
0028   // Constructor from arguments
0029   ProtoSurfaceMaterial smp(smpBU);
0030   // Copy constructor
0031   ProtoSurfaceMaterial smpCopy(smp);
0032   // Copy move constructor
0033   ProtoSurfaceMaterial smpCopyMoved(std::move(smpCopy));
0034 }
0035 
0036 BOOST_AUTO_TEST_SUITE_END()
0037 
0038 }  // namespace ActsTests