mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-18 02:28:05 +00:00
17 lines
396 B
C#
17 lines
396 B
C#
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));
|
|
}
|
|
}
|