Jacek Sieka
0101f4c449
fix compile-time hash, port to unittest2
...
* enable compile-time testing for most of the test suite (some parts
that were skipping things turned out to be bugs)
* port to unittest2 and use its recent compile-time testing support
2023-09-27 10:55:57 +02:00
Jacek Sieka
711cda4456
add native nim mode ( #142 )
...
* add native nim mode
* don't try to link wasm-c code
2023-09-25 16:49:04 +02:00
jangko
d198ec031e
test against intx library
2023-07-07 19:36:50 +07:00
jangko
7fc30a8f1c
enable randomized divmod tests
2023-06-23 09:31:27 +07:00
jangko
0dc6afe9d4
let the tests compileable and run
2023-06-12 21:07:15 +07:00
jangko
63a32129c8
rebase and try to make it works with clients
2023-06-12 20:26:36 +07:00
Mamy Ratsimbazafy
bff69b3f98
Add randomized testing vs GMP
2023-06-12 17:13:35 +07:00
Mamy Ratsimbazafy
27e9c9e441
Add randomized testing, harden against edge cases
2023-06-12 17:12:43 +07:00
tersec
c0ae9e10a9
rm other styleCheckStyle ref
2023-06-08 12:03:16 +00:00
tersec
95b91474ce
remove Nim 1.2 and 1.4 support
2023-06-08 11:08:27 +00:00
tersec
86621eced1
remove pre-Nim 1.2 support ( #127 )
2023-06-05 11:42:36 +00:00
tersec
3d1bd2bfbd
test both refc and ORC in post-1.6 Nim versions ( #124 )
2023-04-14 00:41:31 +00:00
Dustin Brody
27a7608f33
--styleCheck:error iff Nim >= 1.6
2022-07-22 10:40:38 +00:00
Kim De Mey
e656ad40d1
Enable --styleCheck:usages ( #118 )
2022-02-24 20:09:53 +01:00
Ștefan Talpalaru
e17113fb31
CI: test with multiple Nim versions ( #114 )
...
* CI: test with multiple Nim versions
2022-01-12 03:20:04 +01:00
Jacek Sieka
33562884a1
std_shims -> stew
2019-07-07 11:50:53 +02:00
Jacek Sieka
9c51f9e7d5
use bitops2 from shims ( #77 )
2019-05-09 21:46:40 +02:00
mratsim
7fa6329d4c
Change the test flag from mpint_test to stint_test
2018-10-08 21:11:06 +00:00
Jacek Sieka
8c97a4b6c0
nimble: remove nimcache options
2018-10-04 12:36:52 -06:00
Yuriy Glukhov
f76c0ee1ea
Removed experimental flag
2018-09-06 13:37:00 +03:00
Mamy Ratsimbazafy
bd734b6845
Don't use stint's nim.cfg during CI to compile koch ( #63 )
...
* Don't use stint's nim.cfg during CI to compile koch
* skip both project and parentcfg?
* reorder switches
* everything should skip the cfg
* Use .nimble switch - nim.cfg causes problem when updating packages
* remove the skip compile flags
2018-08-21 14:19:39 +02:00
mratsim
fac7c8db3c
Comment out test-only dependencies quicktest and ttmath.
...
(Repeated annoying "Dependency for ttmath: do you want to replace byteutils" while compiling nimbus)
2018-06-10 13:11:24 +02:00
Yuriy Glukhov
ad09fe3a94
Corrected package structure
2018-05-08 17:42:42 +03:00
Mamy Ratsimbazafy
4c055e42a7
Add uint256 fuzz test vs TTMath ( #34 ) + Fix multiplication carry bug #36
...
* Add uint256 fuzz test vs TTMath
* fix the compilation of property_based_uint256
* Fix multiplication carry bug #35
* Change comment in test
2018-05-04 00:11:07 +02:00
mratsim
b731108b1c
Update Quicktest & Continuous Integration configuration to latest.
2018-05-03 11:07:33 +02:00
Mamy Ratsimbazafy
0ee1fb3ec8
Fix #30 - modulo failures ( #32 )
...
* Add corner cases to test suite
* Add failing div2n1n case
* Fix test and fix #30
* Add to tests
* Fix failing tests due to Nim string change between Apr 27 and Apr 29 (doc: 5237ef4f52
)
2018-05-02 17:49:31 +02:00
mratsim
8727adfcf6
Implement signed multi-precision multiplication + tests
2018-04-25 22:48:25 +02:00
mratsim
00a634d2f2
Don't use single letter function like u(256)
2018-04-25 13:36:56 +02:00
Mamy Ratsimbazafy
102a1b0f0c
Rename the library to Stint ( #26 )
2018-04-25 12:52:00 +02:00