SailVR commented on a change in pull request #1370:
URL: https://github.com/apache/incubator-iotdb/pull/1370#discussion_r440631340
##########
File path:
server/src/test/java/org/apache/iotdb/db/utils/datastructure/TVListTest.java
##########
@@ -26,8 +26,18 @@
import org.junit.Assert;
import org.junit.Test;
-public class LongTVListTest {
+public class TVListTest {
+ @Test
+ public void testDoubleTVList1(){
+ TVList tvList = new DoubleTVList();
+ for (long i = 0; i < 1000; i++) {
+ double j = 1.2345678+Math.random();
+ tvList.putDouble(i, j);
+ }
+ tvList.sort();
+ tvList.getTimeValuePair(0);
+ }
Review comment:
OK,add
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]