← Về thư mục
tests/lab-hardware-cad/test_scripts.py
- run_cli · function · L41-L48 — def run_cli(*args: str) -> subprocess.CompletedProcess
- TestLayout · class · L51-L80 — class TestLayout(unittest.TestCase)
- test_skill_md_exists · method · L52-L53 — def test_skill_md_exists(self)
- test_all_references_present · method · L55-L58 — def test_all_references_present(self)
- test_skill_md_links_every_reference · method · L60-L64 — def test_skill_md_links_every_reference(self)
- test_no_script_shadows_a_stdlib_module · method · L66-L75 — def test_no_script_shadows_a_stdlib_module(self)
- test_scripts_are_executable_clis · method · L77-L80 — def test_scripts_are_executable_clis(self)
- TestHelp · class · L83-L95 — class TestHelp(unittest.TestCase)
- test_each_cli_has_help · method · L84-L89 — def test_each_cli_has_help(self)
- test_check_subcommands_have_help · method · L91-L95 — def test_check_subcommands_have_help(self)
- TestStandardsDatabase · class · L98-L152 — class TestStandardsDatabase(unittest.TestCase)
- setUp · method · L99-L100 — def setUp(self)
- test_units_are_millimetres · method · L102-L103 — def test_units_are_millimetres(self)
- test_every_standard_is_well_formed · method · L105-L114 — def test_every_standard_is_well_formed(self)
- test_fit_checks_reference_real_dimensions · method · L116-L124 — def test_fit_checks_reference_real_dimensions(self)
- test_unverified_entries_say_so_in_their_notes · method · L126-L135 — def test_unverified_entries_say_so_in_their_notes(self)
- test_slas_footprint_matches_the_published_standard · method · L137-L141 — def test_slas_footprint_matches_the_published_standard(self)
- test_metric_and_imperial_grids_are_distinct · method · L143-L148 — def test_metric_and_imperial_grids_are_distinct(self)
- test_get_standard_rejects_unknown_id · method · L150-L152 — def test_get_standard_rejects_unknown_id(self)
- TestFitArithmetic · class · L155-L217 — class TestFitArithmetic(unittest.TestCase)
- _fit · method · L158-L159 — def _fit(self, *args: str) -> subprocess.CompletedProcess
- test_match_intent_accepts_a_conforming_dimension · method · L161-L167 — def test_match_intent_accepts_a_conforming_dimension(self)
- test_match_intent_rejects_an_out_of_tolerance_dimension · method · L169-L175 — def test_match_intent_rejects_an_out_of_tolerance_dimension(self)
- test_envelope_intent_requires_maximum_material_condition · method · L177-L190 — def test_envelope_intent_requires_maximum_material_condition(self)
- test_clearance_offset_shifts_the_expected_band · method · L192-L199 — def test_clearance_offset_shifts_the_expected_band(self)
- test_unknown_dimension_is_rejected · method · L201-L206 — def test_unknown_dimension_is_rejected(self)
- test_non_numeric_value_is_rejected · method · L208-L212 — def test_non_numeric_value_is_rejected(self)
- test_standard_without_bbox_checks_explains_itself · method · L214-L217 — def test_standard_without_bbox_checks_explains_itself(self)
- TestDeclaredInterfaces · class · L220-L295 — class TestDeclaredInterfaces(unittest.TestCase)
- _manifest · method · L227-L235 — def _manifest(self, interfaces) -> Path
- _check · method · L237-L240 — def _check(self, interfaces) -> subprocess.CompletedProcess
- _pocket · method · L242-L250 — def _pocket(self, value: float) -> dict
- test_pocket_at_maximum_material_passes · method · L252-L257 — def test_pocket_at_maximum_material_passes(self)
- test_pocket_sized_from_nominal_fails · method · L259-L263 — def test_pocket_sized_from_nominal_fails(self)
- test_one_failing_entry_fails_the_whole_check · method · L265-L269 — def test_one_failing_entry_fails_the_whole_check(self)
- test_unverified_standard_is_flagged_in_the_output · method · L271-L281 — def test_unverified_standard_is_flagged_in_the_output(self)
- test_manifest_without_interfaces_says_how_to_add_them · method · L283-L288 — def test_manifest_without_interfaces_says_how_to_add_them(self)
- test_unsupported_target_is_rejected · method · L290-L295 — def test_unsupported_target_is_rejected(self)
- TestInterfaceNormalisation · class · L298-L335 — class TestInterfaceNormalisation(unittest.TestCase)
- test_defaults_are_filled_in · method · L299-L306 — def test_defaults_are_filled_in(self)
- test_missing_keys_are_named · method · L308-L312 — def test_missing_keys_are_named(self)
- test_bad_intent_is_rejected · method · L314-L318 — def test_bad_intent_is_rejected(self)
- test_non_numeric_value_is_rejected · method · L320-L324 — def test_non_numeric_value_is_rejected(self)
- test_callable_form_wins_over_a_static_list · method · L326-L332 — def test_callable_form_wins_over_a_static_list(self)
- test_a_model_declaring_nothing_returns_empty · method · L334-L335 — def test_a_model_declaring_nothing_returns_empty(self)
- TestStandardsCli · class · L338-L355 — class TestStandardsCli(unittest.TestCase)
- test_list_runs_without_build123d · method · L339-L343 — def test_list_runs_without_build123d(self)
- test_show_reports_the_source_document · method · L345-L350 — def test_show_reports_the_source_document(self)
- test_show_unknown_standard_lists_alternatives · method · L352-L355 — def test_show_unknown_standard_lists_alternatives(self)
- TestHelpers · class · L358-L392 — class TestHelpers(unittest.TestCase)
- test_parse_params_coerces_types · method · L359-L364 — def test_parse_params_coerces_types(self)
- test_parse_params_rejects_malformed_pairs · method · L366-L368 — def test_parse_params_rejects_malformed_pairs(self)
- test_measure_resolves_bbox_names · method · L370-L375 — def test_measure_resolves_bbox_names(self)
- test_measure_swap_xy_exchanges_axes · method · L377-L379 — def test_measure_swap_xy_exchanges_axes(self)
- test_measure_rejects_unknown_name · method · L381-L384 — def test_measure_rejects_unknown_name(self)
- test_load_shape_rejects_unsupported_suffix · method · L386-L388 — def test_load_shape_rejects_unsupported_suffix(self)
- test_run_model_rejects_a_missing_file · method · L390-L392 — def test_run_model_rejects_a_missing_file(self)