using System; using System.Threading.Tasks; using NUnit.Framework; namespace Robust.UnitTesting.Shared.Toolshed; internal sealed partial class ToolshedTypesTest { // Assert that T -> Nullable holds and it's inverse does not. [Test] public void Bug_Nullables_08_21_2023() { Assert.That(Toolshed.IsTransformableTo(typeof(int), typeof(Nullable))); Assert.That(!Toolshed.IsTransformableTo(typeof(Nullable), typeof(int))); } }