3 Commits

Author SHA1 Message Date
Axel Meyer
68a0932f8b test: assert template_of getter behavior + bump to v0.3.0
Bump composition dep to 0.3.0 and add 3 assertions covering the new
getter: round-trip template-id on composition.create, loud-error on
nil arg with message-pattern match, nil on raw entity.create handle.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-14 11:57:31 +02:00
Axel Meyer
73aceec4d4 test(composition): assert set_tag round-trip + container-block validation
8 new assertions covering v0.2 surface:
- set_tag adds entity to tag-index (assert 15)
- set_tag removes entity from tag-index (assert 16)
- set_tag is idempotent for both add and remove (asserts 17-18)
- set_tag loud-errors on non-composition entity (assert 19)
- define_template accepts container={kind="list"} (assert 20)
- define_template loud-errors on container={kind="grid"} (assert 21)
- define_template loud-errors on container with weight_max (assert 22)
- slots Loud-Error regression: still fires after v0.2 changes (assert 23)

Manifest version bumped to 0.2.0; composition dep bumped to 0.2.0.
2026-06-13 14:02:19 +02:00
Axel Meyer
05094c5e24 initial: composition-test v0.1.0 — 14 assertions
Phase-A.1 test-lib for lib-core.composition. Covers define_template,
create, list_by_template, list_by_tag, destroy, list_templates.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-09 13:28:55 +00:00