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

openmc-dev / openmc / 12971699935

26 Jan 2025 05:13AM UTC coverage: 84.856% (-0.009%) from 84.865%
12971699935

Pull #3129

github

web-flow
Merge f8a88a3c9 into 2bea7f338
Pull Request #3129: Compute material volumes in mesh elements based on raytracing

204 of 230 new or added lines in 3 files covered. (88.7%)

772 existing lines in 29 files now uncovered.

50223 of 59186 relevant lines covered (84.86%)

35109960.84 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