docs(registry): tested:true + test_file_path en .md de primitivos

20 funciones C++ pasan de tested:false a tested:true con sus tests
correspondientes y test_file_path apuntando a cpp/tests/. Cubre 4 tests
reales (tween_curves, pie/kpi/bar math) y 16 placeholders (componentes
UI con tests visuales pendientes para 0048).

Coverage cpp pasa de 4% (3/81) a 28% (23/81).
This commit is contained in:
2026-04-28 23:42:35 +02:00
parent dfd73ec158
commit 7c86070cc6
20 changed files with 104 additions and 60 deletions
+4 -3
View File
@@ -15,9 +15,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_badge.cpp"
file_path: "cpp/functions/core/badge.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_button.cpp"
file_path: "cpp/functions/core/button.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_dashboard_grid.cpp"
file_path: "cpp/functions/core/dashboard_grid.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_dashboard_panel.cpp"
file_path: "cpp/functions/core/dashboard_panel.cpp"
framework: imgui
params:
+4 -3
View File
@@ -15,9 +15,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_empty_state.cpp"
file_path: "cpp/functions/core/empty_state.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_icon_button.cpp"
file_path: "cpp/functions/core/icon_button.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_modal_dialog.cpp"
file_path: "cpp/functions/core/modal_dialog.cpp"
framework: imgui
params:
+4 -3
View File
@@ -15,9 +15,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_page_header.cpp"
file_path: "cpp/functions/core/page_header.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_select.cpp"
file_path: "cpp/functions/core/select.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_text_input.cpp"
file_path: "cpp/functions/core/text_input.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_toast.cpp"
file_path: "cpp/functions/core/toast.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_tokens.cpp"
file_path: "cpp/functions/core/tokens.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_toolbar.cpp"
file_path: "cpp/functions/core/toolbar.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_tree_view.cpp"
file_path: "cpp/functions/core/tree_view.cpp"
framework: imgui
params: []
+12 -3
View File
@@ -14,9 +14,18 @@ returns: []
returns_optional: false
error_type: ""
imports: []
tested: false
tests: []
test_file_path: ""
tested: true
tests:
- "linear is identity"
- "quadratic boundary conditions"
- "cubic boundary conditions"
- "exponential boundary conditions"
- "in_quad < out_quad in mid-range"
- "monotonic curves are monotonic"
- "elastic and bounce hit endpoints exactly"
- "apply dispatch matches direct calls"
- "name() returns non-null for every Ease"
test_file_path: "cpp/tests/test_tween_curves.cpp"
file_path: "cpp/functions/core/tween_curves.cpp"
framework: ""
params:
+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: