aboutsummaryrefslogtreecommitdiffstats
path: root/vespajlib/src/test/java/com/yahoo/tensor/impl/TensorAddressAnyTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'vespajlib/src/test/java/com/yahoo/tensor/impl/TensorAddressAnyTestCase.java')
-rw-r--r--vespajlib/src/test/java/com/yahoo/tensor/impl/TensorAddressAnyTestCase.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/vespajlib/src/test/java/com/yahoo/tensor/impl/TensorAddressAnyTestCase.java b/vespajlib/src/test/java/com/yahoo/tensor/impl/TensorAddressAnyTestCase.java
index ae13b95052b..18ff1f6a1d3 100644
--- a/vespajlib/src/test/java/com/yahoo/tensor/impl/TensorAddressAnyTestCase.java
+++ b/vespajlib/src/test/java/com/yahoo/tensor/impl/TensorAddressAnyTestCase.java
@@ -6,11 +6,15 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
+/**
+ * @author baldersheim
+ */
public class TensorAddressAnyTestCase {
+
@Test
void testSize() {
for (int i = 0; i < 10; i++) {
- int [] indexes = new int [i];
+ int[] indexes = new int[i];
assertEquals(i, of(indexes).size());
}
}
@@ -18,8 +22,8 @@ public class TensorAddressAnyTestCase {
@Test
void testNumericStringEquality() {
for (int i = 0; i < 10; i++) {
- int [] numericIndexes = new int [i];
- String [] stringIndexes = new String[i];
+ int[] numericIndexes = new int[i];
+ String[] stringIndexes = new String[i];
for (int j = 0; j < i; j++) {
numericIndexes[j] = j;
stringIndexes[j] = String.valueOf(j);