Fixtures were produced by CultLib 0db1fe5 from a temporary worktree: a v4
directory store and a v1 single-file store holding the same three records.
Tests reopen both and assert every value, and assert the directory store
refuses v1, v1.directory, v2 and v3 manifests without touching the bytes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
23 lines
523 B
C#
23 lines
523 B
C#
using GameCult.Caching;
|
|
using MessagePack;
|
|
|
|
namespace GameCult.Caching.Tests
|
|
{
|
|
[CultDocument("fixtures.precut2.item", "fixtures.precut2.item.v1")]
|
|
internal sealed class PreCut2FixtureItem
|
|
{
|
|
[Key(0)]
|
|
[CultName]
|
|
public string Name = string.Empty;
|
|
|
|
[Key(1)]
|
|
public int Count;
|
|
}
|
|
|
|
[CultDocument("fixtures.precut2.note", "fixtures.precut2.note.v1")]
|
|
internal sealed class PreCut2FixtureNote
|
|
{
|
|
[Key(0)]
|
|
public string Text = string.Empty;
|
|
}
|
|
}
|