Files
QuanTAlib/lib/trends/mama/Mama.Repro.Tests.cs
T

17 lines
396 B
C#
Raw Normal View History

2025-12-09 21:32:06 -05:00
namespace QuanTAlib.Tests;
public class MamaReproTests
{
[Fact]
public void Constructor_ThrowsArgumentException_WhenSlowLimitIsZero()
{
Assert.Throws<ArgumentException>(() => new Mama(0.5, 0.0));
}
[Fact]
public void Constructor_ThrowsArgumentException_WhenSlowLimitIsNegative()
{
Assert.Throws<ArgumentException>(() => new Mama(0.5, -0.1));
}
}