Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
q9f committed Apr 6, 2022
1 parent a2c0305 commit f02dd75
Show file tree
Hide file tree
Showing 51 changed files with 133 additions and 168 deletions.
4 changes: 2 additions & 2 deletions .github/coverage/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var data = {files:[
{"link":"run_coverage.e4d6ba08/index.html","title":"run_coverage","summary_name":"run_coverage","covered_class":"lineCov","covered":"97.5","covered_lines":"237","uncovered_lines":"6","total_lines" : "243"},
{"link":"run_coverage.78460cc2/index.html","title":"run_coverage","summary_name":"run_coverage","covered_class":"lineCov","covered":"97.9","covered_lines":"231","uncovered_lines":"5","total_lines" : "236"},
], merged_files:[]};
var percent_low = 25;var percent_high = 75;
var header = { "command" : "run_coverage", "date" : "2022-04-06 11:52:18", "instrumented" : 243, "covered" : 237,};
var header = { "command" : "run_coverage", "date" : "2022-04-06 12:16:54", "instrumented" : 236, "covered" : 231,};
2 changes: 1 addition & 1 deletion .github/coverage/run_coverage
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" ?>
<!DOCTYPE coverage SYSTEM 'http://cobertura.sourceforge.net/xml/coverage-04.dtd'>
<coverage line-rate="0.975" lines-covered="237" lines-valid="243" branch-rate="1.0" branches-covered="1.0" branches-rate="1.0" complexity="1.0" version="1.9" timestamp="1649238738">
<coverage line-rate="0.979" lines-covered="231" lines-valid="236" branch-rate="1.0" branches-covered="1.0" branches-rate="1.0" complexity="1.0" version="1.9" timestamp="1649240214">
<sources>
<source>/home/user/.opt/q9f/secp256k1.cr/src/secp256k1/</source>
</sources>
<packages>
<package name="run_coverage" line-rate="0.975" lines-covered="237" lines-valid="243" branch-rate="1.0" complexity="1.0">
<package name="run_coverage" line-rate="0.979" lines-covered="231" lines-valid="236" branch-rate="1.0" complexity="1.0">
<classes>
<class name="util_cr" filename="util.cr" branch-rate="1.0" complexity="1.0" line-rate="0.932">
<lines>
Expand Down Expand Up @@ -205,7 +205,7 @@
<line number="126" hits="1"/>
</lines>
</class>
<class name="num_cr" filename="num.cr" branch-rate="1.0" complexity="1.0" line-rate="0.981">
<class name="num_cr" filename="num.cr" branch-rate="1.0" complexity="1.0" line-rate="1.000">
<lines>
<line number="43" hits="3"/>
<line number="44" hits="1"/>
Expand Down Expand Up @@ -242,25 +242,18 @@
<line number="180" hits="1"/>
<line number="181" hits="1"/>
<line number="182" hits="1"/>
<line number="183" hits="0"/>
<line number="184" hits="1"/>
<line number="185" hits="1"/>
<line number="186" hits="1"/>
<line number="187" hits="1"/>
<line number="188" hits="1"/>
<line number="188" hits="2"/>
<line number="189" hits="2"/>
<line number="195" hits="2"/>
<line number="196" hits="2"/>
<line number="197" hits="1"/>
<line number="205" hits="1"/>
<line number="206" hits="1"/>
<line number="207" hits="1"/>
<line number="214" hits="2"/>
<line number="190" hits="1"/>
<line number="198" hits="1"/>
<line number="199" hits="1"/>
<line number="200" hits="1"/>
<line number="207" hits="2"/>
<line number="208" hits="1"/>
<line number="209" hits="1"/>
<line number="211" hits="2"/>
<line number="212" hits="1"/>
<line number="215" hits="1"/>
<line number="216" hits="1"/>
<line number="218" hits="2"/>
<line number="219" hits="1"/>
<line number="222" hits="1"/>
</lines>
</class>
<class name="signature_cr" filename="signature.cr" branch-rate="1.0" complexity="1.0" line-rate="1.000">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,5 @@ var data = {lines:[
{"lineNum":" 104","line":"end"},
]};
var percent_low = 25;var percent_high = 75;
var header = { "command" : "run_coverage", "date" : "2022-04-06 11:52:18", "instrumented" : 28, "covered" : 26,};
var header = { "command" : "run_coverage", "date" : "2022-04-06 12:16:54", "instrumented" : 28, "covered" : 26,};
var merged_data = [];
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" ?>
<!DOCTYPE coverage SYSTEM 'http://cobertura.sourceforge.net/xml/coverage-04.dtd'>
<coverage line-rate="0.975" lines-covered="237" lines-valid="243" branch-rate="1.0" branches-covered="1.0" branches-rate="1.0" complexity="1.0" version="1.9" timestamp="1649238738">
<coverage line-rate="0.979" lines-covered="231" lines-valid="236" branch-rate="1.0" branches-covered="1.0" branches-rate="1.0" complexity="1.0" version="1.9" timestamp="1649240214">
<sources>
<source>/home/user/.opt/q9f/secp256k1.cr/src/secp256k1/</source>
</sources>
<packages>
<package name="run_coverage" line-rate="0.975" lines-covered="237" lines-valid="243" branch-rate="1.0" complexity="1.0">
<package name="run_coverage" line-rate="0.979" lines-covered="231" lines-valid="236" branch-rate="1.0" complexity="1.0">
<classes>
<class name="util_cr" filename="util.cr" branch-rate="1.0" complexity="1.0" line-rate="0.932">
<lines>
Expand Down Expand Up @@ -205,7 +205,7 @@
<line number="126" hits="1"/>
</lines>
</class>
<class name="num_cr" filename="num.cr" branch-rate="1.0" complexity="1.0" line-rate="0.981">
<class name="num_cr" filename="num.cr" branch-rate="1.0" complexity="1.0" line-rate="1.000">
<lines>
<line number="43" hits="3"/>
<line number="44" hits="1"/>
Expand Down Expand Up @@ -242,25 +242,18 @@
<line number="180" hits="1"/>
<line number="181" hits="1"/>
<line number="182" hits="1"/>
<line number="183" hits="0"/>
<line number="184" hits="1"/>
<line number="185" hits="1"/>
<line number="186" hits="1"/>
<line number="187" hits="1"/>
<line number="188" hits="1"/>
<line number="188" hits="2"/>
<line number="189" hits="2"/>
<line number="195" hits="2"/>
<line number="196" hits="2"/>
<line number="197" hits="1"/>
<line number="205" hits="1"/>
<line number="206" hits="1"/>
<line number="207" hits="1"/>
<line number="214" hits="2"/>
<line number="190" hits="1"/>
<line number="198" hits="1"/>
<line number="199" hits="1"/>
<line number="200" hits="1"/>
<line number="207" hits="2"/>
<line number="208" hits="1"/>
<line number="209" hits="1"/>
<line number="211" hits="2"/>
<line number="212" hits="1"/>
<line number="215" hits="1"/>
<line number="216" hits="1"/>
<line number="218" hits="2"/>
<line number="219" hits="1"/>
<line number="222" hits="1"/>
</lines>
</class>
<class name="signature_cr" filename="signature.cr" branch-rate="1.0" complexity="1.0" line-rate="1.000">
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
{"file": "/home/user/.opt/q9f/secp256k1.cr/src/secp256k1/context.cr", "percent_covered": "92.86", "covered_lines": "26", "total_lines": "28"},
{"file": "/home/user/.opt/q9f/secp256k1.cr/src/secp256k1/point.cr", "percent_covered": "100.00", "covered_lines": "36", "total_lines": "36"},
{"file": "/home/user/.opt/q9f/secp256k1.cr/src/secp256k1/key.cr", "percent_covered": "100.00", "covered_lines": "14", "total_lines": "14"},
{"file": "/home/user/.opt/q9f/secp256k1.cr/src/secp256k1/num.cr", "percent_covered": "98.15", "covered_lines": "53", "total_lines": "54"},
{"file": "/home/user/.opt/q9f/secp256k1.cr/src/secp256k1/num.cr", "percent_covered": "100.00", "covered_lines": "47", "total_lines": "47"},
{"file": "/home/user/.opt/q9f/secp256k1.cr/src/secp256k1/signature.cr", "percent_covered": "100.00", "covered_lines": "6", "total_lines": "6"},
{"file": "/home/user/.opt/q9f/secp256k1.cr/src/secp256k1.cr", "percent_covered": "100.00", "covered_lines": "5", "total_lines": "5"}
],
"percent_covered": "97.53",
"covered_lines": 237,
"total_lines": 243,
"percent_covered": "97.88",
"covered_lines": 231,
"total_lines": 236,
"percent_low": 25,
"percent_high": 75,
"command": "run_coverage",
"date": "2022-04-06 11:52:18"
"date": "2022-04-06 12:16:54"
}
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ var data = {lines:[
{"lineNum":" 162","line":" def mul(p : Point, s : Num | BigInt) : Point","class":"lineCov","hits":"4","order":"37","possible_hits":"4",},
{"lineNum":" 163","line":" s = s.to_big if s.is_a? Num","class":"lineCov","hits":"1","order":"136","possible_hits":"1",},
{"lineNum":" 164","line":" if s === 0 || s >= N.to_big","class":"linePartCov","hits":"3","order":"38","possible_hits":"4",},
{"lineNum":" 165","line":" raise \"Invalid scalar: outside of Secp256k1 field dimension.\"","class":"linePartCov","hits":"1","order":"205","possible_hits":"2",},
{"lineNum":" 165","line":" raise \"Invalid scalar: outside of Secp256k1 field dimension.\"","class":"linePartCov","hits":"1","order":"199","possible_hits":"2",},
{"lineNum":" 166","line":" end"},
{"lineNum":" 167","line":" s_bin = s.to_s 2","class":"lineCov","hits":"2","order":"39","possible_hits":"2",},
{"lineNum":" 168","line":" q = p","class":"lineCov","hits":"2","order":"40","possible_hits":"2",},
Expand All @@ -179,5 +179,5 @@ var data = {lines:[
{"lineNum":" 178","line":"end"},
]};
var percent_low = 25;var percent_high = 75;
var header = { "command" : "run_coverage", "date" : "2022-04-06 11:52:18", "instrumented" : 56, "covered" : 56,};
var header = { "command" : "run_coverage", "date" : "2022-04-06 12:16:54", "instrumented" : 56, "covered" : 56,};
var merged_data = [];

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ var data = {lines:[
{"lineNum":" 102","line":" # Key.new(Num.new \"3ccf84820c20d5e8c536ba84c52ba410375b29b1812b5f7e722445c969a0fb30\").public_hex"},
{"lineNum":" 103","line":" # # => \"04cd4a8712ee6efc15b5abe37c0dbfa979d89c427d3fe24b076008decefe94dba281363d298e4a40ebcb13f1afa85a0b94b967f243ee59a59010cb5deaf0d7b66c\""},
{"lineNum":" 104","line":" # ```"},
{"lineNum":" 105","line":" def public_hex : String","class":"lineCov","hits":"2","order":"188","possible_hits":"2",},
{"lineNum":" 106","line":" @public_key.uncompressed","class":"lineCov","hits":"1","order":"189","possible_hits":"1",},
{"lineNum":" 105","line":" def public_hex : String","class":"lineCov","hits":"2","order":"186","possible_hits":"2",},
{"lineNum":" 106","line":" @public_key.uncompressed","class":"lineCov","hits":"1","order":"187","possible_hits":"1",},
{"lineNum":" 107","line":" end"},
{"lineNum":" 108","line":""},
{"lineNum":" 109","line":" # Returns the public key as compressed, hexadecimal string literal."},
Expand All @@ -123,8 +123,8 @@ var data = {lines:[
{"lineNum":" 122","line":" # Key.new(Num.new \"3ccf84820c20d5e8c536ba84c52ba410375b29b1812b5f7e722445c969a0fb30\").public_bytes"},
{"lineNum":" 123","line":" # # => Bytes[4, 205, 74, 135, 18, 238, 110, 252, 21, 181, 171, 227, 124, 13, 191, 169, 121, 216, 156, 66, 125, 63, 226, 75, 7, 96, 8, 222, 206, 254, 148, 219, 162, 129, 54, 61, 41, 142, 74, 64, 235, 203, 19, 241, 175, 168, 90, 11, 148, 185, 103, 242, 67, 238, 89, 165, 144, 16, 203, 93, 234, 240, 215, 182, 108]"},
{"lineNum":" 124","line":" # ```"},
{"lineNum":" 125","line":" def public_bytes : Bytes","class":"lineCov","hits":"2","order":"190","possible_hits":"2",},
{"lineNum":" 126","line":" Num.new(@public_key.uncompressed).to_bytes","class":"lineCov","hits":"1","order":"191","possible_hits":"1",},
{"lineNum":" 125","line":" def public_bytes : Bytes","class":"lineCov","hits":"2","order":"188","possible_hits":"2",},
{"lineNum":" 126","line":" Num.new(@public_key.uncompressed).to_bytes","class":"lineCov","hits":"1","order":"189","possible_hits":"1",},
{"lineNum":" 127","line":" end"},
{"lineNum":" 128","line":""},
{"lineNum":" 129","line":" # Returns the public key as compressed, binary byte slice."},
Expand All @@ -139,5 +139,5 @@ var data = {lines:[
{"lineNum":" 138","line":"end"},
]};
var percent_low = 25;var percent_high = 75;
var header = { "command" : "run_coverage", "date" : "2022-04-06 11:52:18", "instrumented" : 14, "covered" : 14,};
var header = { "command" : "run_coverage", "date" : "2022-04-06 12:16:54", "instrumented" : 14, "covered" : 14,};
var merged_data = [];
Binary file not shown.
Loading

0 comments on commit f02dd75

Please sign in to comment.