(self)
| 930 | |
| 931 | class TestCLI(unittest.TestCase): |
| 932 | def test_reconstruct_debug(self): |
| 933 | with save_viz() as viz: |
| 934 | Tensor.empty(1, device="NULL").add(2.0).realize() |
| 935 | profile_marker("marker @ 1") |
| 936 | Tensor.empty(1, device="NULL").add(3.0).realize() |
| 937 | with write_files(viz) as files, Context(DEBUG=4): |
| 938 | out = run_cli(*files, "-s", "NULL") |
| 939 | assert any(s.get("value", "").startswith("void E") for s in out) |
| 940 | assert any(s.get("name", "") == "marker @ 1" for s in out) |
| 941 | |
| 942 | def test_aggregate(self): |
| 943 | N, CNT = 1024, 5 |
nothing calls this directly
no test coverage detected