diff --git a/cpp/functions/core/badge.md b/cpp/functions/core/badge.md index 571adc15..b4c6a768 100644 --- a/cpp/functions/core/badge.md +++ b/cpp/functions/core/badge.md @@ -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: diff --git a/cpp/functions/core/button.md b/cpp/functions/core/button.md index bf7e72ce..7735297f 100644 --- a/cpp/functions/core/button.md +++ b/cpp/functions/core/button.md @@ -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: diff --git a/cpp/functions/core/dashboard_grid.md b/cpp/functions/core/dashboard_grid.md index bae08919..2e91fe6f 100644 --- a/cpp/functions/core/dashboard_grid.md +++ b/cpp/functions/core/dashboard_grid.md @@ -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: diff --git a/cpp/functions/core/dashboard_panel.md b/cpp/functions/core/dashboard_panel.md index 1e3d4373..73957920 100644 --- a/cpp/functions/core/dashboard_panel.md +++ b/cpp/functions/core/dashboard_panel.md @@ -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: diff --git a/cpp/functions/core/empty_state.md b/cpp/functions/core/empty_state.md index 1cf0b7a6..a982b277 100644 --- a/cpp/functions/core/empty_state.md +++ b/cpp/functions/core/empty_state.md @@ -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: diff --git a/cpp/functions/core/icon_button.md b/cpp/functions/core/icon_button.md index b62905bf..136310fb 100644 --- a/cpp/functions/core/icon_button.md +++ b/cpp/functions/core/icon_button.md @@ -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: diff --git a/cpp/functions/core/modal_dialog.md b/cpp/functions/core/modal_dialog.md index 0d4aaa67..4507a87c 100644 --- a/cpp/functions/core/modal_dialog.md +++ b/cpp/functions/core/modal_dialog.md @@ -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: diff --git a/cpp/functions/core/page_header.md b/cpp/functions/core/page_header.md index 1c3c35c5..7b25a450 100644 --- a/cpp/functions/core/page_header.md +++ b/cpp/functions/core/page_header.md @@ -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: diff --git a/cpp/functions/core/select.md b/cpp/functions/core/select.md index 042170c4..0692229a 100644 --- a/cpp/functions/core/select.md +++ b/cpp/functions/core/select.md @@ -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: diff --git a/cpp/functions/core/text_input.md b/cpp/functions/core/text_input.md index 73d997ac..9fd93c8f 100644 --- a/cpp/functions/core/text_input.md +++ b/cpp/functions/core/text_input.md @@ -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: diff --git a/cpp/functions/core/toast.md b/cpp/functions/core/toast.md index 0d6cbbea..1cac2c0c 100644 --- a/cpp/functions/core/toast.md +++ b/cpp/functions/core/toast.md @@ -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: diff --git a/cpp/functions/core/tokens.md b/cpp/functions/core/tokens.md index e37c6b4a..4c603a45 100644 --- a/cpp/functions/core/tokens.md +++ b/cpp/functions/core/tokens.md @@ -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: [] diff --git a/cpp/functions/core/toolbar.md b/cpp/functions/core/toolbar.md index 2c4499b3..04d6e367 100644 --- a/cpp/functions/core/toolbar.md +++ b/cpp/functions/core/toolbar.md @@ -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: [] diff --git a/cpp/functions/core/tree_view.md b/cpp/functions/core/tree_view.md index bc64ab42..1800ca28 100644 --- a/cpp/functions/core/tree_view.md +++ b/cpp/functions/core/tree_view.md @@ -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: [] diff --git a/cpp/functions/core/tween_curves.md b/cpp/functions/core/tween_curves.md index 7425261a..3d251c46 100644 --- a/cpp/functions/core/tween_curves.md +++ b/cpp/functions/core/tween_curves.md @@ -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: diff --git a/cpp/functions/viz/bar_chart.md b/cpp/functions/viz/bar_chart.md index a5c096fa..534cb2cc 100644 --- a/cpp/functions/viz/bar_chart.md +++ b/cpp/functions/viz/bar_chart.md @@ -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: diff --git a/cpp/functions/viz/kpi_card.md b/cpp/functions/viz/kpi_card.md index bfd21ce3..0c2aa492 100644 --- a/cpp/functions/viz/kpi_card.md +++ b/cpp/functions/viz/kpi_card.md @@ -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: diff --git a/cpp/functions/viz/pie_chart.md b/cpp/functions/viz/pie_chart.md index 1fa3e45e..c8082125 100644 --- a/cpp/functions/viz/pie_chart.md +++ b/cpp/functions/viz/pie_chart.md @@ -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: diff --git a/cpp/functions/viz/sparkline.md b/cpp/functions/viz/sparkline.md index 74981921..dc4a7209 100644 --- a/cpp/functions/viz/sparkline.md +++ b/cpp/functions/viz/sparkline.md @@ -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: diff --git a/cpp/functions/viz/table_view.md b/cpp/functions/viz/table_view.md index 927ad8a6..fcaa16fe 100644 --- a/cpp/functions/viz/table_view.md +++ b/cpp/functions/viz/table_view.md @@ -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: