Chrysalis - Pattern Test Coverage


pattern/
File: pattern/src/Outline.cpp
Date: 2026-08-27 18:35:18
Lines:
4/6
66.7%
Functions:
2/3
66.7%
Branches:
0/0
-%
Decisions:
0/0
-%
Calls:
11/16
68.8%

Line Branch Decision Call Exec Source
1 #include "Outline.h"
2
3 using namespace Chrysalis;
4
5
7/7
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
✓ Call 5 invoked.
✓ Call 6 invoked.
2 Outline::Outline(const std::string& name): BaseNamedElement(name) {}
6
7 ✗ const std::vector<const Point*>& Outline::points() const {
8
0/5
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ return points_;
9 }
10
11 66 void Outline::add(const Point* point) {
12
4/4
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
66 points_.push_back(point);
13 66 }
14