Tests the sample inputs from the elliptic curve addition EIP 213.
(t *testing.T)
| 442 | |
| 443 | // Tests the sample inputs from the elliptic curve addition EIP 213. |
| 444 | func TestPrecompiledBn256Add(t *testing.T) { |
| 445 | for _, test := range bn256AddTests { |
| 446 | testPrecompiled("06", test, t) |
| 447 | } |
| 448 | } |
| 449 | |
| 450 | // Benchmarks the sample inputs from the elliptic curve addition EIP 213. |
| 451 | func BenchmarkPrecompiledBn256Add(bench *testing.B) { |
nothing calls this directly
no test coverage detected