// Path: jnetrobust-core/src/main/java/com/github/mucaho/jnetrobust/util/SystemClock.java
// public interface SystemClock {
//     long getTimeNow();
// }
// 
// 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/util/TestUtils.java
// public final static int binInt(String binaryString) {
//     return Integer.parseInt(binaryString, 2);
// }


import com.github.mucaho.jnetrobust.util.SystemClock;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import mockit.Invocation;
import mockit.Mock;
import mockit.MockUp;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.util.HashSet;
import static com.github.mucaho.jarrayliterals.ArrayShortcuts.$;
import static com.github.mucaho.jarrayliterals.ArrayShortcuts.$S;
import static com.github.mucaho.jnetrobust.util.TestUtils.binInt;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
/*
 * 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 SentMapControlTest extends AbstractMapControlTest {

    protected SentMapControl handler = new SentMapControl(null, config.getPacketQueueLimit(),
            config.getPacketOffsetLimit(), config.getPacketRetransmitLimit() + 1,
// Path: jnetrobust-core/src/main/java/com/github/mucaho/jnetrobust/util/SystemClock.java
// public interface SystemClock {
//     long getTimeNow();
// }
// 
// 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/util/TestUtils.java
// public final static int binInt(String binaryString) {
//     return Integer.parseInt(binaryString, 2);
// }


// Path: jnetrobust-core/src/test/java/com/github/mucaho/jnetrobust/control/SentMapControlTest.java
import com.github.mucaho.jnetrobust.util.SystemClock;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import mockit.Invocation;
import mockit.Mock;
import mockit.MockUp;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import java.util.HashSet;
import static com.github.mucaho.jarrayliterals.ArrayShortcuts.$;
import static com.github.mucaho.jarrayliterals.ArrayShortcuts.$S;
import static com.github.mucaho.jnetrobust.util.TestUtils.binInt;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

/*
 * 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 SentMapControlTest extends AbstractMapControlTest {

    protected SentMapControl handler = new SentMapControl(null, config.getPacketQueueLimit(),
            config.getPacketOffsetLimit(), config.getPacketRetransmitLimit() + 1,
            config.getPacketQueueTimeout(), new SystemClock() {