Chrysalis - Pattern Test Coverage


pattern/
File: pattern/src/RayArgument.cpp
Date: 2026-08-27 18:35:18
Lines:
4/6
66.7%
Functions:
2/3
66.7%
Branches:
0/8
0.0%
Decisions:
0/0
-%
Calls:
15/75
20.0%

Line Branch Decision Call Exec Source
1 #include "arguments/RayArgument.h"
2
3 using namespace Chrysalis;
4
5
1/1
✓ Call 0 invoked.
69 RayArgument::RayArgument(const args::point* origin, const args::point* destination)
6
5/5
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
69 : LineArgument(origin, destination) {}
7
8
1/1
✓ Call 0 invoked.
177 RayArgument::RayArgument(const args::point* origin, args::number&& angle)
9
8/8
✓ Call 0 invoked.
✓ Call 1 invoked.
✓ Call 2 invoked.
✓ Call 3 invoked.
✓ Call 4 invoked.
✓ Call 5 invoked.
✓ Call 6 invoked.
✓ Call 7 invoked.
177 : LineArgument(origin, std::move(angle)) {}
10
11 ✗ RayArgument::operator CG::Ray() const {
12
0/60
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ Call 4 not invoked.
✗ Call 5 not invoked.
✗ Call 6 not invoked.
✗ Call 7 not invoked.
✗ Call 10 not invoked.
✗ Call 11 not invoked.
✗ Call 12 not invoked.
✗ Call 13 not invoked.
✗ Call 14 not invoked.
✗ Call 15 not invoked.
✗ Call 16 not invoked.
✗ Call 17 not invoked.
✗ Call 18 not invoked.
✗ Call 19 not invoked.
✗ Call 20 not invoked.
✗ Call 21 not invoked.
✗ Call 22 not invoked.
✗ Call 23 not invoked.
✗ Call 24 not invoked.
✗ Call 25 not invoked.
✗ Call 26 not invoked.
✗ Call 27 not invoked.
✗ Call 28 not invoked.
✗ Call 29 not invoked.
✗ Call 30 not invoked.
✗ Call 31 not invoked.
✗ Call 32 not invoked.
✗ Call 33 not invoked.
✗ Call 34 not invoked.
✗ Call 35 not invoked.
✗ Call 36 not invoked.
✗ Call 37 not invoked.
✗ Call 38 not invoked.
✗ Call 39 not invoked.
✗ Call 40 not invoked.
✗ Call 41 not invoked.
✗ Call 42 not invoked.
✗ Call 43 not invoked.
✗ Call 44 not invoked.
✗ Call 45 not invoked.
✗ Call 46 not invoked.
✗ Call 47 not invoked.
✗ Call 48 not invoked.
✗ Call 49 not invoked.
✗ Call 50 not invoked.
✗ Call 51 not invoked.
✗ Call 52 not invoked.
✗ Call 53 not invoked.
✗ Call 56 not invoked.
✗ Call 57 not invoked.
✗ Call 58 not invoked.
✗ Call 59 not invoked.
✗ Call 62 not invoked.
✗ Call 63 not invoked.
✗ Call 66 not invoked.
✗ Call 67 not invoked.
✗ return CG::Ray(*origin_->get(), static_cast<CG::Line>(*this));
13 }
14