Skip to content

Commit

Permalink
Update utils_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
DeVikingMark authored Feb 8, 2025
1 parent 093c7e0 commit 3430048
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ecc/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ func TestNafDecomposition(t *testing.T) {
{"13", []int8{1, 0, -1, 0, 1}}, // existing test case
{"0", []int8{}}, // edge case - zero
{"1", []int8{1}}, // edge case - one
{"7", []int8{1, 0, 0, -1}}, // 7 = 2³ - 2⁰ (8 - 1)
{"15", []int8{1, 0, 0, 0, 1}}, // 15 = 2⁴ - 2⁰
{"31", []int8{1, 0, 0, 0, 0, 1}}, // 31 = 2⁵ - 2⁰
{"7", []int8{-1, 0, 0, 1}}, // 7 = 2³ - 2⁰ (8 - 1)
{"15", []int8{-1, 0, 0, 0, 1}}, // 15 = 2⁴ - 2⁰
{"31", []int8{-1, 0, 0, 0, 0, 1}}, // 31 = 2⁵ - 2⁰
}

for i, test := range tests {
Expand Down

0 comments on commit 3430048

Please sign in to comment.