Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Apr 29, 2024
1 parent 3c79458 commit 869333b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ fn main(

assert(triple.x == res[0]);
assert(triple.y == res[1]);

// Multiplying the point by 1 should return the same point
let res = std::scalar_mul::variable_base_embedded_curve(point_x, point_y, 1, 0);
assert(point_x == res[0]);
assert(point_y == res[1]);
}

0 comments on commit 869333b

Please sign in to comment.