mirror of https://github.com/gtank/ristretto255
Update internal/radix51/fe_test.go
Co-Authored-By: hdevalence <hdevalence@hdevalence.ca>
This commit is contained in:
parent
ce204aaa9d
commit
4765eee22a
|
@ -345,7 +345,7 @@ func TestSelectSwap(t *testing.T) {
|
||||||
c.Select(&a, &b, 1)
|
c.Select(&a, &b, 1)
|
||||||
d.Select(&a, &b, 0)
|
d.Select(&a, &b, 0)
|
||||||
|
|
||||||
if (c.Equal(&a) != 1) || (d.Equal(&b) != 1) {
|
if c.Equal(&a) != 1 || d.Equal(&b) != 1 {
|
||||||
t.Errorf("Select failed")
|
t.Errorf("Select failed")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue