using FruityFoundation.Base.Extensions; using FruityFoundation.Base.Structures; using Microsoft.FSharp.Core; using NUnit.Framework; namespace Base.Tests.Extensions; public class FSharpExtensionTests { [Test] public void TestNoneIntToMaybe() => Assert.AreEqual(Maybe.Empty(), FSharpOption.None.ToMaybe()); [Test] public void TestSomeIntToMaybe() => Assert.AreEqual(Maybe.Create(25), FSharpOption.Some(25).ToMaybe()); }