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
4c8c35e919
commit
4ea68891fd
|
@ -351,7 +351,7 @@ func TestSelectSwap(t *testing.T) {
|
||||||
|
|
||||||
CondSwap(&c, &d, 0)
|
CondSwap(&c, &d, 0)
|
||||||
|
|
||||||
if (c.Equal(&a) != 1) || (d.Equal(&b) != 1) {
|
if c.Equal(&a) != 1 || d.Equal(&b) != 1 {
|
||||||
t.Errorf("Swap failed")
|
t.Errorf("Swap failed")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue