@Test public void success_MultiplyCoordinate() { Coordinate coordinate1 = new CoordinateEd448(new BigInteger("1000")); Coordinate coordinate2 = new CoordinateEd448(new BigInteger("2")); Coordinate result = coordinate1.multiply(coordinate2); assertEquals(result.getInteger(), new BigInteger("2000")); }
@Override public Coordinate multiply(Coordinate val) { BigInteger integer = val.getInteger(); return new CoordinateEd448(value.multiply(integer)); }
CoordinateEd448 extends Coordinate { @Override public Coordinate multiply(Coordinate val) { BigInteger integer = val.getInteger(); return new CoordinateEd448(value.multiply(integer)); } }
CoordinateEd448 extends Coordinate { @Override public Coordinate multiply(Coordinate val) { BigInteger integer = val.getInteger(); return new CoordinateEd448(value.multiply(integer)); } CoordinateEd448(BigInteger integer); }
CoordinateEd448 extends Coordinate { @Override public Coordinate multiply(Coordinate val) { BigInteger integer = val.getInteger(); return new CoordinateEd448(value.multiply(integer)); } CoordinateEd448(BigInteger integer); @Override Coordinate add(Coordinate val); @Override Coordinate divide(Coordinate val); @Override Coordinate multiply(Coordinate val); @Override Coordinate subtract(Coordinate val); @Override Coordinate mod(); @Override Coordinate inverse(); @Override Coordinate powerMod(BigInteger exponent); @Override Coordinate negate(); @Override EncodedCoordinate encode(); }
CoordinateEd448 extends Coordinate { @Override public Coordinate multiply(Coordinate val) { BigInteger integer = val.getInteger(); return new CoordinateEd448(value.multiply(integer)); } CoordinateEd448(BigInteger integer); @Override Coordinate add(Coordinate val); @Override Coordinate divide(Coordinate val); @Override Coordinate multiply(Coordinate val); @Override Coordinate subtract(Coordinate val); @Override Coordinate mod(); @Override Coordinate inverse(); @Override Coordinate powerMod(BigInteger exponent); @Override Coordinate negate(); @Override EncodedCoordinate encode(); static final CoordinateEd448 ZERO; static final CoordinateEd448 ONE; }