content: package net.amygdalum.testrecorder.scenarios;
  
  import static net.amygdalum.testrecorder.test.JUnit4TestsRun.testsRun;
  import static org.assertj.core.api.Assertions.assertThat;
  
  import org.junit.jupiter.api.Test;
  import org.junit.jupiter.api.extension.ExtendWith;
  
  import net.amygdalum.testrecorder.generator.TestGenerator;
  import net.amygdalum.testrecorder.integration.Instrumented;
  import net.amygdalum.testrecorder.integration.TestRecorderAgentExtension;
  
  @ExtendWith(TestRecorderAgentExtension.class)
  @Instrumented(classes = { "net.amygdalum.testrecorder.scenarios.PrimitiveArrayDataTypes" })
  public class PrimitiveArrayDataTypesTest {
  
  	@Test
  	public void testCompilable() throws Exception {
  		boolean[] booleans = new boolean[] { false, true, false, false, true, false, true, true };
  		char[] chars = new char[] { Character.MIN_VALUE, 'a', 'b', 'c', 'd', 'e', Character.MAX_VALUE };
  		byte[] bytes = new byte[] { 1, -11, 2, Byte.MAX_VALUE, Byte.MIN_VALUE, 0 };
  		short[] shorts = new short[] { 1, -1, 1100, Short.MAX_VALUE, Short.MIN_VALUE, 0 };
  		int[] integers = new int[] { 1, -13, -64000, Integer.MAX_VALUE, Integer.MIN_VALUE, 0 };
  		float[] floats = new float[] { 1.0f, -13.0f, -0.64f, 0.15e-15f, Float.MAX_VALUE, Float.MIN_VALUE, Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.NaN };
  		long[] longs = new long[] { 1l, -17l, 942342334, Long.MAX_VALUE, Long.MIN_VALUE, 0 };
  		double[] doubles = new double[] { 1.0, 17.5, -1.34444423242334243, 0.152348238479e15, Double.MAX_VALUE, Double.MIN_VALUE, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN };
  
  		PrimitiveArrayDataTypes dataTypes = new PrimitiveArrayDataTypes();
  		for (int i = 1; i <= 10; i++) {
  			dataTypes.booleans(booleans);
  			dataTypes.chars(chars);
  			dataTypes.bytes(bytes);
  			dataTypes.shorts(shorts);
  			dataTypes.integers(integers);
  			dataTypes.floats(floats);
  			dataTypes.longs(longs);
  			dataTypes.doubles(doubles);
  		}
  
  		TestGenerator testGenerator = TestGenerator.fromRecorded();
  		assertThat(testGenerator.renderTest(PrimitiveArrayDataTypes.class)).satisfies(testsRun());
  	}
  }