/*
 * This file was automatically generated by EvoSuite
 * Thu Sep 20 13:41:59 GMT 2018
 */

package uk.ac.sanger.artemis.components.alignment;

import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
import uk.ac.sanger.artemis.components.alignment.ReadCount;

@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) 
public class ReadCount_ESTest extends ReadCount_ESTest_scaffolding {

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      float[] floatArray0 = new float[5];
      ReadCount readCount0 = new ReadCount(floatArray0, false);
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      ReadCount readCount0 = null;
      try {
        readCount0 = new ReadCount((float[]) null, false);
        fail("Expecting exception: NullPointerException");
      
      } catch(NullPointerException e) {
         //
         // no message in exception (getMessage() returned null)
         //
         verifyException("uk.ac.sanger.artemis.components.alignment.ReadCount", e);
      }
  }

  @Test(timeout = 4000)
  public void test2()  throws Throwable  {
      float[] floatArray0 = new float[5];
      ReadCount readCount0 = new ReadCount(floatArray0, true);
  }

  @Test(timeout = 4000)
  public void test3()  throws Throwable  {
      float[] floatArray0 = new float[1];
      ReadCount readCount0 = null;
      try {
        readCount0 = new ReadCount(floatArray0, false);
        fail("Expecting exception: ArrayIndexOutOfBoundsException");
      
      } catch(ArrayIndexOutOfBoundsException e) {
         //
         // 1
         //
         verifyException("uk.ac.sanger.artemis.components.alignment.ReadCount", e);
      }
  }
}
