Spdz2kSInt implements SInt { @Override public String toString() { return "Spdz2kSInt{" + "share=" + share + ", macShare=" + macShare + '}'; } Spdz2kSInt(PlainT share, PlainT macShare);  Spdz2kSInt(PlainT share, PlainT macKeyShare, PlainT zero, boolean isPartyOne); Spdz2kSInt<PlainT> add(Spdz2kSInt<PlainT> other); Spdz2kSInt<PlainT> subtract(Spdz2kSInt<PlainT> other); Spdz2kSInt<PlainT> multiply(PlainT other); @Override String toString(); Spdz2kSInt<PlainT> addConstant(
      PlainT other, PlainT macKeyShare, PlainT zero, boolean isPartyOne); PlainT getShare(); PlainT getMacShare(); @Override SInt out();  }
@Test public void testToString() { Spdz2kSInt<CompUInt128> sint = new Spdz2kSInt<>( new CompUInt128(BigInteger.ONE), new CompUInt128(BigInteger.ONE) ); Assert.assertEquals("Spdz2kSInt{share=1, macShare=1}", sint.toString()); }