Orchestrata Ultimate › Tests › Reference › scripts › test_codemod_fast
Tests reference — tests/scripts/test_codemod_fast.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_codemod_fast.py
source · 31 tests · 349 lines
Coverage tests for scripts/_codemod_fast/codemod_fast/init.py.
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestNativeDispatch |
117 | |
| method | TestNativeDispatch.test_native_extension_is_active |
118 | |
| method | TestNativeDispatch.test_csr_build_dispatches_and_builds_index |
123 | |
| method | TestNativeDispatch.test_csr_bfs_dispatches_and_obeys_max_depth |
130 | |
| method | TestNativeDispatch.test_xxhash3_64_pinned_digest |
135 | |
| method | TestNativeDispatch.test_mmap_load_round_trip |
139 | |
| class | TestFallbackConfiguration |
151 | |
| method | TestFallbackConfiguration.test_native_import_failure_selects_fallback |
152 | |
| method | TestFallbackConfiguration.test_csr_build_dispatches_to_pure_python |
155 | |
| method | TestFallbackConfiguration.test_csr_bfs_dispatches_to_pure_python |
160 | |
| method | TestFallbackConfiguration.test_xxhash3_64_and_mmap_load_are_pure_python_anyway |
165 | |
| class | TestPyCsrBuild |
180 | |
| method | TestPyCsrBuild.test_empty_graph_zero_nodes |
181 | |
| method | TestPyCsrBuild.test_nodes_without_edges |
189 | |
| method | TestPyCsrBuild.test_fan_out_groups_neighbors_by_source |
194 | |
| method | TestPyCsrBuild.test_offsets_monotonic_with_self_loop |
203 | |
| method | TestPyCsrBuild.test_parity_with_native_on_non_empty_graph |
209 | |
| class | TestPyCsrBfs |
227 | |
| method | TestPyCsrBfs.test_isolated_start_node |
228 | |
| method | TestPyCsrBfs.test_unlimited_reaches_full_chain |
232 | |
| method | TestPyCsrBfs.test_unreachable_nodes_excluded |
238 | |
| method | TestPyCsrBfs.test_max_depth_zero_returns_start_only |
243 | |
| method | TestPyCsrBfs.test_max_depth_one_returns_direct_neighbors |
247 | |
| method | TestPyCsrBfs.test_max_depth_two |
251 | |
| method | TestPyCsrBfs.test_cycle_visits_each_node_once |
255 | |
| method | TestPyCsrBfs.test_diamond_dedupes_shared_successor |
260 | |
| method | TestPyCsrBfs.test_back_edge_to_visited_start |
266 | |
| method | TestPyCsrBfs.test_parity_with_native |
272 | |
| class | TestPyXxhash3_64 |
290 | |
| method | TestPyXxhash3_64.test_pinned_digests |
299 | |
| method | TestPyXxhash3_64.test_digest_shape_and_determinism |
302 | |
| method | TestPyXxhash3_64.test_falls_back_to_hashlib_when_xxhash_unimportable |
308 | |
| class | TestPyMmapLoad |
329 | |
| method | TestPyMmapLoad.test_round_trip_via_path |
330 | |
| method | TestPyMmapLoad.test_accepts_str_path |
336 | |
| method | TestPyMmapLoad.test_empty_file |
342 | |
| method | TestPyMmapLoad.test_missing_file_raises |
346 |