// Path: src/test/java/io/dazraf/vertx/TestUtils.java
// public static boolean RESULT_BOOL = true;
// 
// Path: src/test/java/io/dazraf/vertx/TestUtils.java
// public static final int RESULT_INT = 42;
// 
// Path: src/test/java/io/dazraf/vertx/TestUtils.java
// public static final String RESULT_MSG = "result";


import org.junit.Test;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.atomic.AtomicInteger;
import static io.dazraf.vertx.TestUtils.RESULT_BOOL;
import static io.dazraf.vertx.TestUtils.RESULT_INT;
import static io.dazraf.vertx.TestUtils.RESULT_MSG;
import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;
package io.dazraf.vertx.tuple;




public class Tuple3Test {
  @Test
  public void createAndRetrieveTest() {
    final Tuple3<String, Integer, Boolean> t = Tuple.tuple(RESULT_MSG, RESULT_INT, RESULT_BOOL);
    assertThat(t.getT1(), is(RESULT_MSG));
    assertThat(t.getT2(), is(RESULT_INT));
    assertThat(t.getT3(), is(RESULT_BOOL));
  }

  @Test
  public void createAndDestructure() {
    AtomicInteger countdown = new AtomicInteger(1);
    final Tuple3<String, Integer, Boolean> t = Tuple.tuple(RESULT_MSG, RESULT_INT, RESULT_BOOL);
    assertThat(t.apply((s, i, b) -> s + i + b),  is(RESULT_MSG + RESULT_INT + RESULT_BOOL));
    t.accept((s, i, b) -> {
      assertThat(s, is(RESULT_MSG));
// Path: src/test/java/io/dazraf/vertx/TestUtils.java
// public static boolean RESULT_BOOL = true;
// 
// Path: src/test/java/io/dazraf/vertx/TestUtils.java
// public static final int RESULT_INT = 42;
// 
// Path: src/test/java/io/dazraf/vertx/TestUtils.java
// public static final String RESULT_MSG = "result";


// Path: src/test/java/io/dazraf/vertx/tuple/Tuple3Test.java
import org.junit.Test;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.atomic.AtomicInteger;
import static io.dazraf.vertx.TestUtils.RESULT_BOOL;
import static io.dazraf.vertx.TestUtils.RESULT_INT;
import static io.dazraf.vertx.TestUtils.RESULT_MSG;
import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;

package io.dazraf.vertx.tuple;




public class Tuple3Test {
  @Test
  public void createAndRetrieveTest() {
    final Tuple3<String, Integer, Boolean> t = Tuple.tuple(RESULT_MSG, RESULT_INT, RESULT_BOOL);
    assertThat(t.getT1(), is(RESULT_MSG));
    assertThat(t.getT2(), is(RESULT_INT));
    assertThat(t.getT3(), is(RESULT_BOOL));
  }

  @Test
  public void createAndDestructure() {
    AtomicInteger countdown = new AtomicInteger(1);
    final Tuple3<String, Integer, Boolean> t = Tuple.tuple(RESULT_MSG, RESULT_INT, RESULT_BOOL);
    assertThat(t.apply((s, i, b) -> s + i + b),  is(RESULT_MSG + RESULT_INT + RESULT_BOOL));
    t.accept((s, i, b) -> {
      assertThat(s, is(RESULT_MSG));
      assertThat(i, is(RESULT_INT));