Analysis Software
Documentation for sPHENIX simulation software
|
#include <boost/test/unit_test.hpp>
#include "Acts/Plugins/ExaTrkX/TorchTruthGraphMetricsHook.hpp"
#include <cassert>
#include <iostream>
#include <torch/torch.h>
Go to the source code of this file.
Functions | |
void | testTruthTestGraph (std::vector< int64_t > &truthGraph, std::vector< int64_t > &testGraph, const std::string &resStr) |
BOOST_AUTO_TEST_CASE (same_graph) | |
BOOST_AUTO_TEST_CASE (same_graph_large_numbers) | |
BOOST_AUTO_TEST_CASE (fifty_fifty) | |
BOOST_AUTO_TEST_CASE | ( | same_graph | ) |
Definition at line 40 of file ExaTrkXMetricHookTests.cpp.
View newest version in sPHENIX GitHub at line 40 of file ExaTrkXMetricHookTests.cpp
References testTruthTestGraph().
BOOST_AUTO_TEST_CASE | ( | same_graph_large_numbers | ) |
Definition at line 63 of file ExaTrkXMetricHookTests.cpp.
View newest version in sPHENIX GitHub at line 63 of file ExaTrkXMetricHookTests.cpp
References k.
BOOST_AUTO_TEST_CASE | ( | fifty_fifty | ) |
Definition at line 91 of file ExaTrkXMetricHookTests.cpp.
View newest version in sPHENIX GitHub at line 91 of file ExaTrkXMetricHookTests.cpp
void testTruthTestGraph | ( | std::vector< int64_t > & | truthGraph, |
std::vector< int64_t > & | testGraph, | ||
const std::string & | resStr | ||
) |
Definition at line 18 of file ExaTrkXMetricHookTests.cpp.
View newest version in sPHENIX GitHub at line 18 of file ExaTrkXMetricHookTests.cpp
References parse_cmake_options::begin, Acts::getDefaultLogger(), Acts::Logging::INFO, logger(), testing::internal::move(), parse_cmake_options::opts, and str.
Referenced by BOOST_AUTO_TEST_CASE().