Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:12:44

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 namespace Acts::Test {
0018 
0019 /// Test the constructors
0020 BOOST_AUTO_TEST_CASE(ProtoSurfaceMaterial_construction_test) {
0021   BinUtility smpBU(10, -10., 10., open, AxisDirection::AxisX);
0022   smpBU += BinUtility(10, -10., 10., open, AxisDirection::AxisY);
0023 
0024   // Constructor from arguments
0025   ProtoSurfaceMaterial smp(smpBU);
0026   // Copy constructor
0027   ProtoSurfaceMaterial smpCopy(smp);
0028   // Copy move constructor
0029   ProtoSurfaceMaterial smpCopyMoved(std::move(smpCopy));
0030 }
0031 
0032 }  // namespace Acts::Test