org.junit.Assert.assertEquals-s



Project 0xdata/h2o in file ...b97e884dd303a/src.test.java.water.fvec.NATest.java (2013-07-14)
@@ -1,6 +1,7 @@
 package water.fvec;
 
 import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.assertEquals;
 
 import java.io.File;
 import java.util.Arrays;
@@ -32,6 +33,7 @@ public class NATest extends TestUtil {
     assertTrue(fr._vecs.length == expectedTypes.length);
     for(int i = 0; i < expectedTypes.length; ++i)
       assertTrue(expectedTypes[i].isInstance(fr._vecs[i].elem2BV(0)));
+    assertEquals(8,nlines);
     for(int i = 0; i < nlines-1; ++i){
 //      System.out.print(i+": ");
       for(Vec v:fr._vecs){
Project JetBrains/intellij-community in file ...openapi.util.io.FileAttributesNio2ReadingTest.java (2012-07-23)
@@ -20,6 +20,7 @@ import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
 
+import static org.junit.Assert.assertEquals;
 import static org.junit.Assume.assumeTrue;
 
 public class FileAttributesNio2ReadingTest extends FileAttributesReadingTest {
@@ -27,6 +28,7 @@ public class FileAttributesNio2ReadingTest extends FileAttributesReadingTest {
   public static void setUpClass() throws Exception {
     System.setProperty(FileSystemUtil.FORCE_USE_NIO2_KEY, "true");
     FileSystemUtil.resetMediator();
+    assertEquals("NIO2", FileSystemUtil.getMediatorName());
   }
 
   @AfterClass
Project MovingBlocks/Terasology in file ....terasology.entitySystem.PojoEventSystemTests.java (2012-08-11)
@@ -1,6 +1,9 @@
 package org.terasology.entitySystem;
 
-import com.google.common.collect.Lists;
+import static org.junit.Assert.assertEquals;
+
+import java.util.List;
+
 import org.junit.Before;
 import org.junit.Test;
 import org.terasology.entitySystem.metadata.ComponentLibrary;
@@ -11,9 +14,7 @@
 import org.terasology.entitySystem.stubs.IntegerComponent;
 import org.terasology.entitySystem.stubs.StringComponent;
 
-import java.util.List;
-
-import static org.junit.Assert.*;
+import com.google.common.collect.Lists;
 
 
 /**
Project MovingBlocks/Terasology in file ...src.test.java.org.terasology.math.IntMathTest.java (2012-08-11)
@@ -15,6 +15,8 @@
  */
 package org.terasology.math;
 
+import static org.junit.Assert.assertEquals;
+
 import org.junit.After;
 import org.junit.AfterClass;
 import org.junit.Before;
@@ -22,8 +24,6 @@
 import org.junit.Test;
 import org.terasology.world.chunks.Chunk;
 
-import static org.junit.Assert.*;
-
 /**
  *
  * @author Immortius
Project Netflix/Hystrix in file ....netflix.hystrix.HystrixCommandPropertiesTest.java (2014-09-19)
@@ -1,6 +1,6 @@
 package com.netflix.hystrix;
 
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
 
 import org.junit.After;
 import org.junit.Test;