Files
RedBear-OS/local
kellito a9a3507daf tlc: lock-in tests for C1 (Rgb precision) and C5 (bookmark column)
Adds regression tests for already-implemented Sprint 3 items so
future refactors can't silently regress these behaviors:

  - terminal::color::tests::default_theme_preserves_rgb_precision
    Locks in the C1 contract: when Theme::background is Rgb, the
    exact 8-bit values (julia256's core.bg = 58,58,58) survive.
    The parser may also emit Indexed(237) for the same source
    value depending on detected color depth, so the test accepts
    either variant but verifies 24-bit precision when present.

  - terminal::color::tests::light_theme_preserves_rgb_precision
    Same invariant for LIGHT_THEME (sand256 bright off-white
    foreground > 200 RGB).

  - editor::tests::bookmark_jump_restores_both_line_and_column
    Locks in the C5 contract: jumping to a named bookmark must
    restore both the line AND the column where the bookmark was
    set. The existing test only verified the byte offset, not
    the column, so a future regression to line-only restoration
    would not have been caught.

Tests (3 new, total 1295 passing):
  +default_theme_preserves_rgb_precision
  +light_theme_preserves_rgb_precision
  +bookmark_jump_restores_both_line_and_column
2026-07-05 19:50:29 +03:00
..