Loading files
7f9864208This file is pinned to the selected release. Download the original to open it in your design tool.
using Hast.TestInputs.Dynamic;
using System.Threading.Tasks;
using Xunit;
namespace Hast.DynamicTests.Tests;
public class CastExpressionCasesTests
{
[Fact]
public Task AllNumberCastingVariations() =>
TestExecutor.ExecuteSelectedTestAsync<CastExpressionCases>(
caseSelector: c => c.AllNumberCastingVariations(memory: null),
testExecutor: c =>
{
c.AllNumberCastingVariations(long.MinValue + 1);
c.AllNumberCastingVariations(123);
c.AllNumberCastingVariations(124);
c.AllNumberCastingVariations(long.MaxValue);
});
}