Path: redb/redb.Tests.Integration/Tests/Collation/MsSqlCaseFoldingTests.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Tests.Integration/Tests/Collation/MsSqlCaseFoldingTests.cs ---- using redb.Tests.Integration.Fixtures; using redb.Tests.Integration.Tests.Base; namespace redb.Tests.Integration.Tests.Collation; /// /// SQL Server, with NO setting configured. /// /// /// This is not a copy of the other two: it asserts that MSSQL needs nothing. Its default collation /// (SQL_Latin1_General_CP1_CI_AS and its regional siblings) already folds every script, so the same /// language matrix must pass on the ordinary fixture with StringCollation unset. If it ever /// stops passing, the claim in COLLATION.md that MSSQL is unaffected has become false, and this is /// the test that says so. /// /// [Collection("MsSql")] public class MsSqlCaseFoldingTests : CaseFoldingTestsBase { public MsSqlCaseFoldingTests(MsSqlFixture fixture) : base(fixture.Redb) { } // Measured, not assumed: SQL Server CI_AS folds BOTH, unlike the ICU root collation. // This asymmetry is the reason the boundaries are per-provider rather than shared. protected override bool FoldsSharpSToDoubleS => true; protected override bool FoldsTurkishDottedI => true; protected override bool PlainStartsWithIsCaseSensitive => false; }