Chrysalis - Renderer Test Coverage


renderer/
File: renderer/src/CursorRendererData.cpp
Date: 2026-08-27 18:35:31
Lines:
0/12
0.0%
Functions:
0/3
0.0%
Branches:
0/4
0.0%
Decisions:
0/0
-%
Calls:
0/54
0.0%

Line Branch Decision Call Exec Source
1 #include "CursorRendererData.h"
2
3 using namespace Chrysalis;
4
5 ✗ void CursorRendererData::projectCursor(const float x, const float y) {
6
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ data_.clear();
7 // x axis
8
0/12
✗ 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.
✗ data_.emplace_back(x, 0.f, 0.f);
9
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ data_.emplace_back(x, y, y);
10 // y axis
11
0/12
✗ 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.
✗ data_.emplace_back(0.f, y, 0.f);
12
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ data_.emplace_back(x, y, x);
13
14
0/10
✗ 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 8 not invoked.
✗ Call 9 not invoked.
✗ updateVBO();
15 ✗ }
16
17 ✗ size_t CursorRendererData::size() {
18
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ return data_.size();
19 }
20
21 ✗ std::vector<Vertex3f> CursorRendererData::vbo() {
22
0/4
✗ Call 0 not invoked.
✗ Call 1 not invoked.
✗ Call 2 not invoked.
✗ Call 3 not invoked.
✗ return data_;
23 }
24