// Path: jnetrobust-core/src/test/java/com/github/mucaho/jarrayliterals/ArrayShortcuts.java
// public static <T> Object $(T param) {
//     return createArray(getClass(param), param);
// }
// 
// Path: jnetrobust-core/src/test/java/com/github/mucaho/jarrayliterals/ArrayShortcuts.java
// public static Object $S(int... params) {
//     Short[] out = new Short[params.length];
//     for (int i = 0; i < out.length; ++i) {
//         out[i] = (short) params[i];
//     }
//     return out;
// }


import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import mockit.Deencapsulation;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.NavigableSet;
import java.util.TreeSet;
import static com.github.mucaho.jarrayliterals.ArrayShortcuts.$;
import static com.github.mucaho.jarrayliterals.ArrayShortcuts.$S;
import static org.junit.Assert.*;
/*
 * Copyright (c) 2014 mucaho (https://github.com/mucaho).
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

package com.github.mucaho.jnetrobust.control;




@RunWith(JUnitParamsRunner.class)
public class SegmentTest {
    public Object[][] parametersForTestReferences() {
        Segment segment2 = new Segment();
        segment2.addTransmissionId((short)2);

        Segment segment22 = new Segment();
        segment22.addTransmissionId((short)2);
        segment22.addTransmissionId((short)2);

        Segment segment345 = new Segment();
        segment345.addTransmissionId((short)3);
        segment345.addTransmissionId((short)4);
        segment345.addTransmissionId((short)5);

        Object[][] out = (Object[][])
// Path: jnetrobust-core/src/test/java/com/github/mucaho/jarrayliterals/ArrayShortcuts.java
// public static <T> Object $(T param) {
//     return createArray(getClass(param), param);
// }
// 
// Path: jnetrobust-core/src/test/java/com/github/mucaho/jarrayliterals/ArrayShortcuts.java
// public static Object $S(int... params) {
//     Short[] out = new Short[params.length];
//     for (int i = 0; i < out.length; ++i) {
//         out[i] = (short) params[i];
//     }
//     return out;
// }


// Path: jnetrobust-core/src/test/java/com/github/mucaho/jnetrobust/control/SegmentTest.java
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import mockit.Deencapsulation;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.NavigableSet;
import java.util.TreeSet;
import static com.github.mucaho.jarrayliterals.ArrayShortcuts.$;
import static com.github.mucaho.jarrayliterals.ArrayShortcuts.$S;
import static org.junit.Assert.*;

/*
 * Copyright (c) 2014 mucaho (https://github.com/mucaho).
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

package com.github.mucaho.jnetrobust.control;




@RunWith(JUnitParamsRunner.class)
public class SegmentTest {
    public Object[][] parametersForTestReferences() {
        Segment segment2 = new Segment();
        segment2.addTransmissionId((short)2);

        Segment segment22 = new Segment();
        segment22.addTransmissionId((short)2);
        segment22.addTransmissionId((short)2);

        Segment segment345 = new Segment();
        segment345.addTransmissionId((short)3);
        segment345.addTransmissionId((short)4);
        segment345.addTransmissionId((short)5);

        Object[][] out = (Object[][])
                $($(