run :: () -> bool { packed := bits_pack(u8, 1, 2, 3, 4); unpacked := bits_unpack(packed); ass(unpacked, int.[1, 2, 3, 4]); unpacked_by_index := bits_unpack_by_index(packed, 2); ass(unpacked_by_index, 3); return true; } #import "Basic"; #import,file "../0x2_Bitpack.jai"; #load "assertion.jai";