This commit is contained in:
Jagath Kumar 2024-03-12 14:33:06 +05:30
parent 656d6ee54f
commit a4da7fe15b
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class ExponentialMovingAverageTest {
public class ExponentialMovingAverageUnitTest {
@Test(expected = IllegalArgumentException.class)
public void when_alpha_is_invalid_should_throw_exception() {
new ExponentialMovingAverage(0); // Alpha outside valid range

View File

@ -4,7 +4,7 @@ import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class MovingAverageByCircularBufferTest {
public class MovingAverageByCircularBufferUnitTest {
@Test
public void when_initial_average_is_calculated_it_should_be_zero() {

View File

@ -4,7 +4,7 @@ import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class MovingAverageWithApacheCommonsMathTest {
public class MovingAverageWithApacheCommonsMathUnitTest {
@Test
public void when_initial_average_is_calculated_it_should_be_NAN() {