Added a unit test for BcbCounters

Restructured the code a little, to allow getting both the mir::Body and
coverage graph.
This commit is contained in:
Rich Kadel
2020-11-12 16:08:42 -08:00
parent eb9f2bb3b0
commit c131063988
3 changed files with 211 additions and 125 deletions

View File

@@ -120,7 +120,6 @@ struct BcbCounters<'a> {
basic_coverage_blocks: &'a mut CoverageGraph,
}
// FIXME(richkadel): Add unit tests for `BcbCounters` functions/algorithms.
impl<'a> BcbCounters<'a> {
fn new(
coverage_counters: &'a mut CoverageCounters,