Path: redb-route/tests/redb.Route.Tests/Expressions/MixedTypeEqualityTests.cs
Snapshot: redb-route, 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-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/tests/redb.Route.Tests/Expressions/MixedTypeEqualityTests.cs
----
using AwesomeAssertions;
using redb.Route.Core;
using redb.Route.Expressions;
using redb.Route.Predicates;
namespace redb.Route.Tests.Expressions;
///
/// Equality of numbers of different types, and of a number with a numeric string (findings register row 31): equal
/// only when the values are equal. Until the fix a mixed pair was equal whenever the left value was the smaller one.
/// Covered for ==, !=, in, not in and the collection contains(), each pair equal and unequal, in both orders.
///
public sealed class MixedTypeEqualityTests
{
/// Mixed pairs: the left header value, the right header value, whether they are equal.
public static TheoryData