mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
move test output to logger
This commit is contained in:
parent
3ba9c50bbc
commit
39cf7c3c14
@ -16,19 +16,17 @@
|
||||
|
||||
package io.nosqlbench.virtdata.library.basics.shared.vectors.primitive;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
public class HashedDoubleVectorsTest {
|
||||
|
||||
private final static Logger logger = LogManager.getLogger(HashedDoubleVectorsTest.class);
|
||||
@Test
|
||||
public void testHashedDoubleVectors() {
|
||||
HashedDoubleVectors hdv1 = new HashedDoubleVectors(10000);
|
||||
double[] doubles = hdv1.apply(1L);
|
||||
System.out.println(Arrays.toString(doubles));
|
||||
logger.info("created " + doubles.length + " double vectors.");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user