Skip to content

Commit

Permalink
feat: add card type to perf test
Browse files Browse the repository at this point in the history
  • Loading branch information
dufkan committed Mar 28, 2024
1 parent 77c67f5 commit 1177411
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions applet/src/test/java/tests/PerformanceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.io.PrintWriter;
import java.math.BigInteger;

import cz.muni.fi.crocs.rcard.client.CardType;
import cz.muni.fi.crocs.rcard.client.Util;
import jcmint.Consts;
import org.bouncycastle.math.ec.ECPoint;
Expand All @@ -12,6 +13,10 @@
public class PerformanceTest extends BaseTest {
private final long REPEAT = 100;

public PerformanceTest() {
setCardType(CardType.JCARDSIMLOCAL);
}

@Test
public void measureSwapSingle() throws Exception {
swapSingle(false);
Expand Down

0 comments on commit 1177411

Please sign in to comment.