Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created August 15, 2017 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/d4308db19dca64d163637c95c2fa3381 to your computer and use it in GitHub Desktop.
Save Whateverable/d4308db19dca64d163637c95c2fa3381 to your computer and use it in GitHub Desktop.
committable6
46ef1b5b48dd5^ https://gist.githubusercontent.com/AlexDaniel/1e2c456f006687ea7100a35b2931af41/raw/9aad30ec83728b43b5d1d134a4c0701354e2c8c5/nativehelpers-test.p6
¦«46ef1b5b48dd5^»:
1..24
ok 1 - NativeHelpers::Blob module can be use-d ok
ok 2 - The object is-a 'utf8'
ok 3 - sizeof Blob
ok 4 - carray from blob
ok 5 - The object is-a 'NativeCall::Types::CArray'
ok 6 - Can´t get size
ok 7 - Not managed
ok 8 - shares memory
ok 9 - c-f-b managed
ok 10 - The object is-a 'NativeCall::Types::CArray'
ok 11 - Is managed
ok 12 - Correct size
ok 13 - sizeof CArray
ok 14 - The object is-a 'uint8'
ok 15 - Elems match
ok 16 - Full trip
ok 17 - With size
ok 18 - The same
ok 19 - A ptr-sized
ok 20 - The object is-a 'Capture'
ok 21 - has two elems
ok 22 - first isa Pointer
ok 23 - Second isa Int
ok 24 - utf8-f-p works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment