File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 9494 - name : pytest
9595 run : ci/pytest_unit.sh
9696
97- - name : test compatibility with Cirq
98- run : |
99- pip install cirq-core
100- pytest test/* -m cirq
10197
10298 buid-and-test-performance :
10399 strategy :
@@ -127,3 +123,8 @@ jobs:
127123
128124 - name : test performance
129125 run : ci/pytest_perf.sh
126+
127+ - name : test compatibility with Cirq
128+ run : |
129+ pip install cirq-core
130+ pytest test/* -m cirq
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ cpdef frac float_to_twelths_frac(a) except *:
8787 cdef double raised_d = 12.0 * d
8888 cdef long long x = < long long > c_floor(raised_d + 0.5 )
8989 if not (- 1e-5 < raised_d - x < 1e-5 ):
90+ print (raised_d, x, < long long > (raised_d))
9091 raise ValueError (" Not a twelfth." )
91-
9292 return frac_least_terms(x, 12 )
9393
9494
You can’t perform that action at this time.
0 commit comments