Coverage Report

Created: 2026-11-14 03:38

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/nix/store/rr0r40cw3mzzbz0sxrnkvnrjpzb82wpc-j27cjzgh5nmq3y8k6hwa6zpi3qgcjia8-source/src/scoring/yakus.cc
Line
Count
Source
1
#include "scoring/yakus.h"
2
3
#include <vector>
4
5
#include "types/yaku.h"
6
7
namespace mahjong {
8
1
const std::vector<Yaku>& Yakus::GetYakus() {
9
1
  return yakus_;
10
1
}
11
5.47k
bool Yakus::RegisterYaku(const Yaku& yaku) {
12
5.47k
  yakus_.push_back(yaku);
13
5.47k
  return true;
14
5.47k
}
15
148
bool Yakus::RegisterYakus(const std::vector<Yaku>& yakus) {
16
740
  for (const auto& yaku : yakus) {
17
740
    yakus_.push_back(yaku);
18
740
  }
19
148
  return true;
20
148
}
21
}  // namespace mahjong