/** * Test method for {@link GroupElement#p1p1(Curve, FieldElement, FieldElement, FieldElement, * FieldElement)}. */ @Test public void testP1p1() { final GroupElement t = GroupElement.p1p1(curve, ZERO, ONE, ONE, ONE); assertThat(t.curve, is(equalTo(curve))); assertThat(t.repr, is(GroupElement.Representation.P1P1)); assertThat(t.X, is(ZERO)); assertThat(t.Y, is(ONE)); assertThat(t.Z, is(ONE)); assertThat(t.T, is(ONE)); }