Skip to content

Commit

Permalink
Update point_spec.cr
Browse files Browse the repository at this point in the history
Group name must now be a symbol
  • Loading branch information
alex-kampa committed Mar 31, 2021
1 parent 9e9cfa1 commit 5010799
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/ecdsa/point_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require "./../spec_helper"

describe ECDSA::Point do
simple_group = ECDSA::Group.new(
name: "custom",
name: :custom,
p: 59.to_big_i,
a: 17.to_big_i,
b: 5.to_big_i,
Expand All @@ -17,7 +17,7 @@ describe ECDSA::Point do
y = 10.to_big_i
x = 0.to_big_i
group = ECDSA::Group.new(
name: "custom",
name: :custom,
p: 3.to_big_i,
a: 0.to_big_i,
b: 0.to_big_i,
Expand All @@ -37,7 +37,7 @@ describe ECDSA::Point do

it "assigns @x and @y mod @group.p" do
group = ECDSA::Group.new(
name: "custom",
name: :custom,
p: 3.to_big_i,
a: 1.to_big_i,
b: 1.to_big_i,
Expand Down

0 comments on commit 5010799

Please sign in to comment.