acdream/tests/AcDream.App.Tests/UI/Layout
Erik 70dc391c41 test(D.2b): UiDatElement — cover DrawMode passthrough + media fallbacks
- Assert DrawMode values (not just File) in the existing named-vs-direct test
- Add ActiveMedia_NoMedia_ReturnsZero: empty StateMedia → (0,0)
- Add ActiveMedia_MissingNamedState_FallsBackToDirect: absent named key → DirectState
- OnDraw: replace `var (file, drawMode) = ...; _ = drawMode;` with idiomatic `var (file, _) = ...`
- Add `// exposed for unit testing` comment above ActiveMedia()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-15 13:34:50 +02:00
..
ElementReaderTests.cs refactor(D.2b): ElementReader review fixes — defensive Children copy + sentinel doc 2026-06-15 13:25:44 +02:00
UiDatElementTests.cs test(D.2b): UiDatElement — cover DrawMode passthrough + media fallbacks 2026-06-15 13:34:50 +02:00