Fixes evaluation of large positive bigint in the UPLC machine
Fixes #511.
This commit is contained in:
9
examples/acceptance_tests/087/lib/tests.ak
Normal file
9
examples/acceptance_tests/087/lib/tests.ak
Normal file
@@ -0,0 +1,9 @@
|
||||
use aiken/cbor.{diagnostic, serialise}
|
||||
|
||||
test cbor_serialise_large_num() {
|
||||
serialise(18446744073709551615) == #"c248ffffffffffffffff"
|
||||
}
|
||||
|
||||
test cbor_diagnostic_large_num() {
|
||||
diagnostic(18446744073709551615) == @"18446744073709551615"
|
||||
}
|
||||
Reference in New Issue
Block a user