test_class.declarator: moduli = Arrays.asList(
        new BigInteger("251"),
        new BigInteger("340282366920938463463374607431768211283"),
        new BigInteger(
            "2582249878086908589655919172003011874329705792829223512830659356540647622016841194629645353280137831435903171972747493557")
    )
test_class.modifier: private final
test_class.original_string: private final List<BigInteger> moduli = Arrays.asList(
        new BigInteger("251"),
        new BigInteger("340282366920938463463374607431768211283"),
        new BigInteger(
            "2582249878086908589655919172003011874329705792829223512830659356540647622016841194629645353280137831435903171972747493557")
    );
test_class.type: List<BigInteger>
test_class.var_name: moduli
test_class.file: core/src/test/java/dk/alexandra/fresco/framework/util/TestArithmeticDummyDataSupplier.java
test_class.identifier: TestArithmeticDummyDataSupplier
test_case.body: @Test
    public void testBitsNotAllSame() {
      int noOfParties = 2;
      BigInteger modulus = moduli.get(1);
      ArithmeticDummyDataSupplier supplier = new ArithmeticDummyDataSupplier(1, noOfParties,
          modulus);
      List<BigInteger> bits = new ArrayList<>(1000);
      for (int i = 0; i < 1000; i++) {
        bits.add(supplier.getRandomBitShare().getFirst());
      }
      boolean seenZero = false;
      boolean seenOne = false;
      for (BigInteger bit : bits) {
        seenZero = seenZero || bit.equals(BigInteger.ZERO);
        seenOne = seenOne || bit.equals(BigInteger.ONE);
        if (seenOne && seenZero) {
          break;
        }
      }
      assertTrue(seenOne);
      assertTrue(seenZero);
    }
test_case.class_method_signature: TestArithmeticDummyDataSupplier.testBitsNotAllSame()
test_case.full_signature: @Test public void testBitsNotAllSame()
test_case.identifier: testBitsNotAllSame
test_case.invocations: get add getFirst getRandomBitShare equals equals assertTrue assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBitsNotAllSame()
focal_class.declarator: myId
focal_class.modifier: private final
focal_class.original_string: private final int myId;
focal_class.type: int
focal_class.var_name: myId
focal_class.declarator: noOfParties
focal_class.modifier: private final
focal_class.original_string: private final int noOfParties;
focal_class.type: int
focal_class.var_name: noOfParties
focal_class.declarator: modulus
focal_class.modifier: private final
focal_class.original_string: private final BigInteger modulus;
focal_class.type: BigInteger
focal_class.var_name: modulus
focal_class.declarator: modBitLength
focal_class.modifier: private final
focal_class.original_string: private final int modBitLength;
focal_class.type: int
focal_class.var_name: modBitLength
focal_class.declarator: random
focal_class.modifier: private final
focal_class.original_string: private final Random random;
focal_class.type: Random
focal_class.var_name: random
focal_class.declarator: sharer
focal_class.modifier: private final
focal_class.original_string: private final SecretSharer<BigInteger> sharer;
focal_class.type: SecretSharer<BigInteger>
focal_class.var_name: sharer
focal_class.declarator: reducer
focal_class.modifier: private final
focal_class.original_string: private final ModularReductionAlgorithm reducer;
focal_class.type: ModularReductionAlgorithm
focal_class.var_name: reducer
focal_class.file: core/src/main/java/dk/alexandra/fresco/framework/util/ArithmeticDummyDataSupplier.java
focal_class.identifier: ArithmeticDummyDataSupplier
focal_class.class_method_signature: ArithmeticDummyDataSupplier.ArithmeticDummyDataSupplier(int myId, int noOfParties, BigInteger modulus)
focal_class.full_signature: public  ArithmeticDummyDataSupplier(int myId, int noOfParties, BigInteger modulus)
focal_class.identifier: ArithmeticDummyDataSupplier
focal_class.modifiers: public
focal_class.parameters: (int myId, int noOfParties, BigInteger modulus)
focal_class.signature:  ArithmeticDummyDataSupplier(int myId, int noOfParties, BigInteger modulus)
focal_class.class_method_signature: ArithmeticDummyDataSupplier.getRandomElementShare()
focal_class.full_signature: public Pair<BigInteger, BigInteger> getRandomElementShare()
focal_class.identifier: getRandomElementShare
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Pair<BigInteger, BigInteger>
focal_class.signature: Pair<BigInteger, BigInteger> getRandomElementShare()
focal_class.class_method_signature: ArithmeticDummyDataSupplier.getRandomBitShare()
focal_class.full_signature: public Pair<BigInteger, BigInteger> getRandomBitShare()
focal_class.identifier: getRandomBitShare
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Pair<BigInteger, BigInteger>
focal_class.signature: Pair<BigInteger, BigInteger> getRandomBitShare()
focal_class.class_method_signature: ArithmeticDummyDataSupplier.getMultiplicationTripleShares()
focal_class.full_signature: public MultiplicationTripleShares getMultiplicationTripleShares()
focal_class.identifier: getMultiplicationTripleShares
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MultiplicationTripleShares
focal_class.signature: MultiplicationTripleShares getMultiplicationTripleShares()
focal_class.class_method_signature: ArithmeticDummyDataSupplier.getExpPipe(int expPipeLength)
focal_class.full_signature: public List<Pair<BigInteger, BigInteger>> getExpPipe(int expPipeLength)
focal_class.identifier: getExpPipe
focal_class.modifiers: public
focal_class.parameters: (int expPipeLength)
focal_class.return: List<Pair<BigInteger, BigInteger>>
focal_class.signature: List<Pair<BigInteger, BigInteger>> getExpPipe(int expPipeLength)
focal_class.class_method_signature: ArithmeticDummyDataSupplier.sampleRandomBigInteger()
focal_class.full_signature: private BigInteger sampleRandomBigInteger()
focal_class.identifier: sampleRandomBigInteger
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: BigInteger
focal_class.signature: BigInteger sampleRandomBigInteger()
focal_class.class_method_signature: ArithmeticDummyDataSupplier.getOpenExpPipe(int expPipeLength)
focal_class.full_signature: private List<BigInteger> getOpenExpPipe(int expPipeLength)
focal_class.identifier: getOpenExpPipe
focal_class.modifiers: private
focal_class.parameters: (int expPipeLength)
focal_class.return: List<BigInteger>
focal_class.signature: List<BigInteger> getOpenExpPipe(int expPipeLength)
focal_class.class_method_signature: ArithmeticDummyDataSupplier.getNextBit()
focal_class.full_signature: private BigInteger getNextBit()
focal_class.identifier: getNextBit
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: BigInteger
focal_class.signature: BigInteger getNextBit()
focal_method.body: public Pair<BigInteger, BigInteger> getRandomBitShare() {
      BigInteger bit = getNextBit();
      return new Pair<>(bit, sharer.share(bit, noOfParties).get(myId - 1));
    }
focal_method.class_method_signature: ArithmeticDummyDataSupplier.getRandomBitShare()
focal_method.full_signature: public Pair<BigInteger, BigInteger> getRandomBitShare()
focal_method.identifier: getRandomBitShare
focal_method.invocations: getNextBit get share
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: Pair<BigInteger, BigInteger>
focal_method.signature: Pair<BigInteger, BigInteger> getRandomBitShare()