()
| 455 | |
| 456 | |
| 457 | def budget_fixture(): |
| 458 | f = simple_fixture() |
| 459 | setup = text(((b"a", 1, (1,)), (b"b", 2, (0, 0)))) |
| 460 | parent = text(((b"a", 1, (1,)), (b"b", 2, (0, 1)))) |
| 461 | f["observations"] = (replace(f["observations"][0], text=setup), |
| 462 | replace(f["observations"][1], text=parent)) |
| 463 | expected = b"s:*\tcomplete\t\t0\ns:t\tcomplete\t\t0 1\n" |
| 464 | # B = expected (1+1) + two observation routes (1+1+1)*2 + |
| 465 | # two evidence routes (1+1)*2 = 12. Three two-record streams contribute |
| 466 | # six names of one byte and nine counter values. Emitted ID refs = 1+2. |
| 467 | exact = M.ProfileMapLimits(32 + len(f["enumeration_text"]) + len(setup) + len(parent) + 12, |
| 468 | 2, 2, 2, 6, 9, 18, 3, len(SIMPLE_PROFILES) + len(expected)) |
| 469 | return f, expected, exact |
| 470 | |
| 471 | |
| 472 | def sampled_positions(calls): |
no test coverage detected