• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openmc-dev / openmc / 12954288577

24 Jan 2025 05:13PM UTC coverage: 84.833% (-0.1%) from 84.928%
12954288577

Pull #2671

github

web-flow
Merge d2ca87df5 into 560bd22bc
Pull Request #2671: Adding methods to automatically apply results to existing Tally objects.

53 of 65 new or added lines in 7 files covered. (81.54%)

59 existing lines in 20 files now uncovered.

50089 of 59044 relevant lines covered (84.83%)

34992387.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/include/openmc/container_util.h
1
#ifndef OPENMC_CONTAINER_UTIL_H
2
#define OPENMC_CONTAINER_UTIL_H
3

4
#include <algorithm> // for find
5
#include <iterator>  // for begin, end
6

7
namespace openmc {
8

9
template<class C, class T>
10
inline bool contains(const C& v, const T& x)
11
{
UNCOV
12
  return std::end(v) != std::find(std::begin(v), std::end(v), x);
×
13
}
14

15
} // namespace openmc
16

17
#endif // OPENMC_CONTAINER_UTIL_H
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc