merge: issue/0047-cpp-tests-foundation — implementación paralela

This commit is contained in:
2026-04-28 23:44:55 +02:00
50 changed files with 26061 additions and 60 deletions
+9 -3
View File
@@ -14,9 +14,15 @@ returns: []
returns_optional: false
error_type: ""
imports: [implot]
tested: false
tests: []
test_file_path: ""
tested: true
tests:
- "y_range covers all positive values"
- "y_range includes zero baseline"
- "y_range with negatives extends below zero"
- "y_range with empty data is sane default"
- "y_range with single value still has span"
- "clamp_bar_width clamps to [0.05, 1.0]"
test_file_path: "cpp/tests/test_bar_chart_math.cpp"
file_path: "cpp/functions/viz/bar_chart.cpp"
framework: imgui
params:
+9 -3
View File
@@ -14,9 +14,15 @@ returns: []
returns_optional: false
error_type: ""
imports: [imgui]
tested: false
tests: []
test_file_path: ""
tested: true
tests:
- "classify_delta positive -> Up"
- "classify_delta negative -> Down"
- "classify_delta near zero -> Flat"
- "pct_change basic deltas"
- "pct_change with zero previous returns 0"
- "pct_change handles negative values"
test_file_path: "cpp/tests/test_kpi_card_math.cpp"
file_path: "cpp/functions/viz/kpi_card.cpp"
framework: imgui
params:
+10 -3
View File
@@ -14,9 +14,16 @@ returns: []
returns_optional: false
error_type: ""
imports: [implot]
tested: false
tests: []
test_file_path: ""
tested: true
tests:
- "slice_at returns -1 outside radius"
- "slice_at on cursor at center returns first slice"
- "slice_at directly above center returns first slice"
- "slice_at right of center hits second slice (CCW)"
- "slice_at single slice always returns 0"
- "slice_at right at radius edge"
- "slice_at unequal slices distributes proportionally"
test_file_path: "cpp/tests/test_pie_chart_math.cpp"
file_path: "cpp/functions/viz/pie_chart.cpp"
framework: imgui
params:
+4 -3
View File
@@ -14,9 +14,10 @@ returns: []
returns_optional: false
error_type: ""
imports: [imgui]
tested: false
tests: []
test_file_path: ""
tested: true
tests:
- "compiles and links against Catch2 (placeholder, visual cubierto en 0048)"
test_file_path: "cpp/tests/test_sparkline.cpp"
file_path: "cpp/functions/viz/sparkline.cpp"
framework: imgui
params:
+4 -3
View File
@@ -14,9 +14,10 @@ returns: []
returns_optional: false
error_type: ""
imports: [imgui]
tested: false
tests: []
test_file_path: ""
tested: true
tests:
- "compiles and links against Catch2 (placeholder, visual cubierto en 0048)"
test_file_path: "cpp/tests/test_table_view.cpp"
file_path: "cpp/functions/viz/table_view.cpp"
framework: imgui
params: