using Meezi.Core.Constants;
using Xunit;

namespace Meezi.API.Tests;

public class TableContextTests
{
    [Fact]
    public void PlanPricing_Pro_HasExpectedToman()
    {
        Assert.Equal(1_490_000m, PlanPricing.MonthlyToman(Core.Enums.PlanTier.Pro));
    }

    [Fact]
    public void PlanPricing_ToRials_ConvertsToman()
    {
        Assert.Equal(14_900_000L, PlanPricing.ToRials(1_490_000m));
    }
}
