Chrysalis - Project Composer Test Coverage


pattern/composer/
File: pattern/composer/src/RayProxy.cpp
Date: 2026-08-27 18:35:43
Lines:
4/4
100.0%
Functions:
2/2
100.0%
Branches:
3/8
37.5%
Decisions:
0/0
-%
Calls:
18/24
75.0%

Line Branch Decision Call Exec Source
1 #include "proxies/RayProxy.h"
2
3 using namespace Chrysalis;
4
5 1 Proxy::Ray::Ray(const PatternPointArgument* point, const double number)
6
2/6
✓ Branch 5 taken 1 times.
✗ Branch 6 not taken.
✓ Branch 11 taken 1 times.
✗ Branch 12 not taken.
✗ Branch 22 not taken.
✗ Branch 23 not taken.
14/19
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
✓ Call 7 invoked.
✓ Call 8 invoked.
✓ Call 9 invoked.
✓ Call 10 invoked.
✓ Call 13 invoked.
✓ Call 14 invoked.
✓ Call 15 invoked.
✓ Call 16 invoked.
✓ Call 17 invoked.
✗ Call 18 not invoked.
✗ Call 19 not invoked.
✗ Call 20 not invoked.
✗ Call 21 not invoked.
✗ Call 24 not invoked.
1 : ray_(new RayArgument(point, std::make_unique<Argument<double>>(number))) {}
7
8 1 Proxy::Line::Lines::And Proxy::Ray::operator|(const args::container<args::line>* lines_) const {
9
1/2
✓ Branch 3 taken 1 times.
✗ Branch 4 not taken.
4/5
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 5 invoked.
✗ Call 6 not invoked.
1 return Line::Lines::And(ray_, lines_);
10 }
11