calculating Moving averages - package updated

This commit is contained in:
Jagath Kumar 2024-04-09 20:04:24 +05:30
parent ac32eebb53
commit f2c6d26c82
11 changed files with 23 additions and 39 deletions

View File

@ -13,4 +13,12 @@
<version>1.0.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>${commons-math3.version}</version>
</dependency>
</dependencies>
</project>

View File

@ -1,7 +1,8 @@
package com.baeldung;
package com.baeldung.movingaverages;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class ExponentialMovingAverageUnitTest {

View File

@ -1,6 +1,7 @@
package com.baeldung;
package com.baeldung.movingaverages;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class MovingAverageByCircularBufferUnitTest {

View File

@ -1,6 +1,7 @@
package com.baeldung;
package com.baeldung.movingaverages;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class MovingAverageWithApacheCommonsMathUnitTest {

View File

@ -1,8 +1,8 @@
package com.baeldung;
package com.baeldung.movingaverages;
import org.junit.Test;
import static org.junit.jupiter.api.Assertions.*;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class MovingAverageWithStreamBasedApproachUnitTest {

View File

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>algorithms-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>algorithms-miscellaneous-9</artifactId>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>${commons-math3.version}</version>
</dependency>
</dependencies>
</project>

View File

@ -26,7 +26,7 @@
<module>algorithms-searching</module>
<module>algorithms-sorting</module>
<module>algorithms-sorting-2</module>
<module>algorithms-miscellaneous-9</module>
<module>algorithms-miscellaneous-8</module>
</modules>
<properties>