using Xunit;
namespace Kbx.Tests.Providers;
public sealed class OpenDartProviderPolicyTests
{
    [Theory]
    [InlineData("013", "NoData")]
    [InlineData("020", "Transient")]
    [InlineData("800", "Transient")]
    [InlineData("010", "Permanent")]
    public void Official_status_codes_have_explicit_policy(string status, string expected)
    {
        var actual = status switch { "013" => "NoData", "020" or "800" or "900" => "Transient", _ => "Permanent" };
        Assert.Equal(expected, actual);
    }
}
