@@ -20,7 +20,7 @@ def test_fft(spec):
2020 # then we apply an FFT to get evaluations over the roots of unity
2121 # we then apply an inverse FFT to the evaluations to get coefficients
2222
23- # we check two things:
23+ # we check two things:
2424 # 1) the original coefficients and the resulting coefficients match
2525 # 2) the evaluations that we got are the same as if we would have evaluated individually
2626
@@ -42,19 +42,19 @@ def test_fft(spec):
4242 # second check: result of FFT are really the evaluations
4343 for i , w in enumerate (roots_of_unity ):
4444 individual_evaluation = spec .evaluate_polynomialcoeff (poly_coeff , w )
45- assert individual_evaluation == poly_eval [i ]
45+ assert individual_evaluation == poly_eval [i ]
4646
4747
4848@with_eip7594_and_later
4949@spec_test
5050@single_phase
5151def test_coset_fft (spec ):
52-
52+
5353 # in this test we sample a random polynomial in coefficient form
5454 # then we apply a Coset FFT to get evaluations over the coset of the roots of unity
5555 # we then apply an inverse Coset FFT to the evaluations to get coefficients
5656
57- # we check two things:
57+ # we check two things:
5858 # 1) the original coefficients and the resulting coefficients match
5959 # 2) the evaluations that we got are the same as if we would have evaluated individually
6060
@@ -81,7 +81,7 @@ def test_coset_fft(spec):
8181 # the element of the coset is coset_shift * w
8282 shifted_w = spec .BLSFieldElement ((coset_shift * int (w )) % BLS_MODULUS )
8383 individual_evaluation = spec .evaluate_polynomialcoeff (poly_coeff , shifted_w )
84- assert individual_evaluation == poly_eval [i ]
84+ assert individual_evaluation == poly_eval [i ]
8585
8686
8787@with_eip7594_and_later
0 commit comments