Upgraded to .NET 10 (#1147)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-01 20:32:16 +01:00
1 parent faae2951f7
commit fc7399e81b
327 files changed
+3059 -3049

No files matched your search

@@ -55,12 +55,12 @@ public sealed class ProviderCapabilityOverridesTests
// also what makes these four the cheapest guard there is against somebody rearranging the
// resolution below them.
//
Assert.Multiple(() =>
using (Assert.EnterMultipleScope())
{
foreach (var (overrides, means) in WHAT_THE_DIALOG_WRITES)
foreach (var stated in EVERY_STATE)
Assert.That(overrides.ApplyTo(ProfileWhichReasons(stated)).Reasoning, Is.EqualTo(means), $"A model which reasons {stated}, with {Describe(overrides)}.");
});
}
}
[Test]
@@ -109,14 +109,14 @@ public sealed class ProviderCapabilityOverridesTests
var overrides = new ProviderCapabilityOverrides { FunctionCalling = false, AudioInput = true };
var after = overrides.ApplyTo(profile);
Assert.Multiple(() =>
using (Assert.EnterMultipleScope())
{
Assert.That(after.Has(Capability.FUNCTION_CALLING), Is.False);
Assert.That(after.Has(Capability.AUDIO_INPUT), Is.True);
Assert.That(after.Has(Capability.TEXT_INPUT), Is.True);
Assert.That(after.Has(Capability.SINGLE_IMAGE_INPUT), Is.True, "Turning several images off is what removes several images; one image is a statement of its own.");
Assert.That(after.Context, Is.EqualTo(profile.Context));
});
}
}
/// <summary>