Skip to content

Commit

Permalink
Add new subtle log tests. New point-add tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardkiss committed Sep 23, 2024
1 parent 8e2ba16 commit 338f1f3
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/brun/logand-7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
brun -c '(logand (q . 1) (q . 2))'
cost = 675
()
3 changes: 3 additions & 0 deletions tests/brun/logxor-5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
brun -c '(logxor (q . 777) (q . 777))'
cost = 681
()
3 changes: 3 additions & 0 deletions tests/brun/point-add-4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
brun -c '(point_add)'
cost = 101575
0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
3 changes: 3 additions & 0 deletions tests/brun/point-add-5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
brun -c '(point_add (pubkey_for_exp (q . 1)))'
cost = 2771824
0x97f1d3a73197d7942695638c4fa9ac0fc3688c4f9774b905a14e3a3f171bac586c55e83ff97a1aeffb3af00adb22c6bb
3 changes: 3 additions & 0 deletions tests/brun/point-add-6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
brun -c '(point_add (pubkey_for_exp (q . 2)))'
cost = 2771824
0xa572cbea904d67468808c8eb50a9450c9721db309128012543902d0ac358a62ae28f75bb8f1c7c42c39a8c5529bf0f4e
3 changes: 3 additions & 0 deletions tests/brun/point-add-7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
brun -c '(point_add (pubkey_for_exp (q . 3)))'
cost = 2771824
0x89ece308f9d1f0131765212deca99697b112d61f9be9a5f1f3780a51335b3ff981747a0b2ca2179b96d2c0c9024e5224
3 changes: 3 additions & 0 deletions tests/brun/point-add-8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
brun -c '(point_add (pubkey_for_exp (q . 4)))'
cost = 2771824
0xac9b60d5afcbd5663a8a44b7c5a02f19e9a77ab0a35bd65809bb5c67ec582c897feb04decc694b13e08587f3ff9b5b60
3 changes: 3 additions & 0 deletions tests/brun/point-add-9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
brun -c '(point_add (pubkey_for_exp (q . 5)))'
cost = 2771824
0xb0e7791fb972fe014159aa33a98622da3cdc98ff707965e536d8636b5fcc5ac7a91a8c46e59a00dca575af0f18fb13dc
3 changes: 3 additions & 0 deletions tests/brun/point-add-a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
brun -c '(point_add (pubkey_for_exp (q . -6)))'
cost = 2771824
0x86e82f6da4520f85c5d27d8f329eccfa05944fd1096b20734c894966d12a9e2a9a9744529d7212d33883113a0cadb909

0 comments on commit 338f1f3

Please sign in to comment.