mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-29 23:42:34 +08:00
Format code with prettier (#3375)
This commit is contained in:
@ -3,12 +3,12 @@ package com.thealgorithms.maths;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
|
||||
public class AverageTest {
|
||||
double [] numbers = {3, 6, 9, 12, 15, 18, 21};
|
||||
|
||||
double[] numbers = { 3, 6, 9, 12, 15, 18, 21 };
|
||||
|
||||
@Test
|
||||
public void testAverage() {
|
||||
|
||||
Assertions.assertEquals(12, Average.average(numbers));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user