We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e741182 commit 31bd25aCopy full SHA for 31bd25a
Tests/Adobe.Target.Client.Test/Util/IntegrationTestUtils.cs
@@ -210,6 +210,17 @@ public static EquivalencyAssertionOptions<DeliveryRequest> RootRequestEquivalenc
210
ctx.Subject.Should().Be(ctx.Expectation);
211
})
212
.When(info => info.Type == typeof(long?))
213
+ .Using<double?>(ctx =>
214
+ {
215
+ if (ctx.Expectation == -999)
216
217
+ ctx.Subject.Should().BePositive();
218
+ return;
219
+ }
220
+
221
+ ctx.Subject.Should().Be(ctx.Expectation);
222
+ })
223
+ .When(info => info.Type == typeof(double?))
224
.Using<int?>(ctx =>
225
{
226
if (ctx.Expectation == -999)
0 commit comments