diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-19 13:14:12 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-19 13:14:12 -0400 |
commit | 46251a3604a52baa51161083bf51c4d88f50c6f4 (patch) | |
tree | cf24ccf4b139051c308cb0871c4dbb877d7a7842 /src-qt5/desktop-utils/lumina-textedit/tests | |
parent | Remove the character per line limit for html files. (diff) | |
parent | Updated Python syntax rules (diff) | |
download | lumina-46251a3604a52baa51161083bf51c4d88f50c6f4.tar.gz lumina-46251a3604a52baa51161083bf51c4d88f50c6f4.tar.bz2 lumina-46251a3604a52baa51161083bf51c4d88f50c6f4.zip |
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/tests')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/tests/test.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/tests/test.py b/src-qt5/desktop-utils/lumina-textedit/tests/test.py new file mode 100644 index 00000000..cfac4984 --- /dev/null +++ b/src-qt5/desktop-utils/lumina-textedit/tests/test.py @@ -0,0 +1,17 @@ +import math + +primes = [2] +print(2, end=' ') +count = 1; +for i in range(3, 200000): + for j in primes: + if i % j == 0: + break + elif j > math.sqrt(i): + count += 1 + print(i, end=' ') + if count % 5 == 0: + print() + primes.append(i) + break +print() |