20 lines
498 B
Diff
20 lines
498 B
Diff
diff -Naur rpm/tests/compatible/cpufreq/cal.py oech/tests/compatible/cpufreq/cal.py
|
|
--- rpm/tests/compatible/cpufreq/cal.py 2024-08-14 11:28:15.885339696 +0800
|
|
+++ oech/tests/compatible/cpufreq/cal.py 2024-08-14 11:29:13.689645189 +0800
|
|
@@ -14,13 +14,14 @@
|
|
|
|
import decimal
|
|
import time
|
|
+COUNT = 10000
|
|
|
|
|
|
def cal():
|
|
"""Call test_case"""
|
|
decimal.getcontext().prec = 1000
|
|
one = decimal.Decimal(1)
|
|
- for i in range(1000):
|
|
+ for i in range(COUNT):
|
|
(i * one).sqrt()
|
|
|
|
|