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:
@@ -15,9 +15,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/badge.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/button.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/dashboard_grid.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/dashboard_panel.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -15,9 +15,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/empty_state.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/icon_button.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/modal_dialog.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -15,9 +15,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/page_header.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/select.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/text_input.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/toast.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/tokens.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params: []
|
params: []
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/toolbar.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params: []
|
params: []
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/tree_view.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params: []
|
params: []
|
||||||
|
|||||||
@@ -14,9 +14,18 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: []
|
imports: []
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/core/tween_curves.cpp"
|
||||||
framework: ""
|
framework: ""
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,15 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [implot]
|
imports: [implot]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/viz/bar_chart.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,15 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/viz/kpi_card.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,16 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [implot]
|
imports: [implot]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/viz/pie_chart.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/viz/sparkline.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ returns: []
|
|||||||
returns_optional: false
|
returns_optional: false
|
||||||
error_type: ""
|
error_type: ""
|
||||||
imports: [imgui]
|
imports: [imgui]
|
||||||
tested: false
|
tested: true
|
||||||
tests: []
|
tests:
|
||||||
test_file_path: ""
|
- "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"
|
file_path: "cpp/functions/viz/table_view.cpp"
|
||||||
framework: imgui
|
framework: imgui
|
||||||
params:
|
params:
|
||||||
|
|||||||
Reference in New Issue
Block a user