mirror of
https://github.com/status-im/nim-stew.git
synced 2025-02-03 07:44:17 +00:00
6bcb21184a
* Optimized and exception-less encoding/decoding procedures for decimal integers. * Add tests. * Fix import path. * Fix review comments. * Code simplification. * Make toBytes() allocation free. * Do not perform conversion to signed type to avoid compiler's overflow checks.
31 lines
717 B
Nim
31 lines
717 B
Nim
# stew
|
|
# Copyright 2018-2019 Status Research & Development GmbH
|
|
# Licensed under either of
|
|
#
|
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
|
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
|
|
#
|
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
|
|
|
import
|
|
ranges/all,
|
|
test_assign2,
|
|
test_arrayops,
|
|
test_base10,
|
|
test_base32,
|
|
test_base58,
|
|
test_base64,
|
|
test_bitops2,
|
|
test_bitseqs,
|
|
test_byteutils,
|
|
test_ctops,
|
|
test_endians2,
|
|
test_io2,
|
|
test_macros,
|
|
test_objects,
|
|
test_ptrops,
|
|
test_sequtils2,
|
|
test_results,
|
|
test_varints,
|
|
test_winacl
|