test(core): cite the rule that states the fact, and assert the fact, not the wording

Review of V-D2's tests:
- S-E3's vocabulary: `item k` and `INVARIANT k` become `invariant k` of
  WB-ledger-15, WB-ledger-9 (no numbered parts: cited whole), and the statements
  and invariants of BS-arap-5 and BS-arap-6 that the tests actually pin.
- The split-group tests cite WB-entry-6, the only rule that says "as part of a
  split group", not BS-entry-5.
- A refusal is pinned by its variant plus the fragment that states the fact (a
  figure, "positive", "strictly greater"), not its whole sentence; the
  `ConventionKind::ALL.len() == 7` pin is dropped.
- `a_send...moves_no_figure` compared receivables with itself; it now asserts
  the bank unchanged and receivables at 500.00.
- The disposal test says a day before the asset was acquired is refused and
  now asserts DisposalBeforeAcquisition.
- Main's FeeAboveCash variant replaces the InvalidSettlement text the fee test
  matched; it now asserts the variant and both figures.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Sonnet 5.5 committed 2026-11-09 06:15:38 -07:00
1 parent 7ac1ef8c5a
commit 344e09933d
5 files changed
+59 -37

No files matched your search

@@ -944,7 +944,7 @@ fn drafting_from_a_template_refuses_what_it_cannot_make_whole() {
// ---------------------------------------------------------------- the pure helpers
/// WB-ledger-9, INVARIANT 2: a split is exact. With no rounding places,
/// WB-ledger-9: a template's split is exact. With no rounding places,
/// each part is amount × share and the last absorbs any difference; with
/// places, each part is truncated and the leftover goes by largest
/// remainder; either way the parts sum to the amount.
@@ -979,7 +979,6 @@ fn a_split_sums_to_its_amount_exactly() {
/// The convention kinds' words round-trip, and an unknown word is none.
#[test]
fn convention_kinds_round_trip_their_words() {
assert_eq!(ConventionKind::ALL.len(), 7);
for k in ConventionKind::ALL {
assert_eq!(ConventionKind::parse(k.key()), Some(k));
}