diff --git a/lama b/lama deleted file mode 100644 index c39cf5c2..00000000 --- a/lama +++ /dev/null @@ -1,1344 +0,0 @@ - Running cairo-test alexandria_ascii -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.03s - Compiling test(alexandria_ascii_unittest) alexandria_ascii v0.1.0 (/Users/gaetanansotte/quaireaux/packages/ascii/Scarb.toml) -warn: Unused import: `alexandria_ascii::ToAsciiArrayTrait` - --> /Users/gaetanansotte/quaireaux/packages/ascii/src/lib.cairo:5:29 -use integer::{ToAsciiTrait, ToAsciiArrayTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - -warning: Unused import: `alexandria_ascii::ToAsciiArrayTrait` - --> /Users/gaetanansotte/quaireaux/packages/ascii/src/lib.cairo:5:29 -use integer::{ToAsciiTrait, ToAsciiArrayTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - - Finished release target(s) in 4 seconds -testing alexandria_ascii ... -running 6 tests -test alexandria_ascii::tests::test_ascii_integer::u16_to_ascii ... ok (gas usage est.: 194070) -test alexandria_ascii::tests::test_ascii_integer::u64_to_ascii ... ok (gas usage est.: 276420) -test alexandria_ascii::tests::test_ascii_integer::u128_to_ascii ... ok (gas usage est.: 700770) -test alexandria_ascii::tests::test_ascii_integer::u8_to_ascii ... ok (gas usage est.: 183090) -test alexandria_ascii::tests::test_ascii_integer::u32_to_ascii ... ok (gas usage est.: 221520) -test alexandria_ascii::tests::test_ascii_integer::u256_to_ascii ... ok (gas usage est.: 2495160) -test result: ok. 6 passed; 0 failed; 0 ignored; 0 filtered out; - - Running cairo-test alexandria_bytes -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.02s - Compiling test(alexandria_bytes_unittest) alexandria_bytes v0.1.0 (/Users/gaetanansotte/quaireaux/packages/bytes/Scarb.toml) -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - - Finished release target(s) in 4 seconds -testing alexandria_bytes ... -running 31 tests -test alexandria_bytes::tests::test_bytes::test_bytes_update ... ok (gas usage est.: 6547510) -test alexandria_bytes::tests::test_bytes::test_bytes_read_usize ... ok (gas usage est.: 191500) -test alexandria_bytes::tests::test_bytes::test_bytes_append ... ok (gas usage est.: 1111870) -test alexandria_bytes::tests::test_bytes::test_bytes_update_panic ... ok (gas usage est.: 500770) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u128_packed_out_of_bound ... ok (gas usage est.: 60960) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u128_packed ... ok (gas usage est.: 433490) -test alexandria_bytes::tests::test_bytes::test_bytes_zero ... ok (gas usage est.: 319300) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u128_array_packed_out_of_bound ... ok (gas usage est.: 7380) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u128_packed_too_large ... ok (gas usage est.: 60960) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u128_array_packed ... ok (gas usage est.: 715500) -test alexandria_bytes::tests::test_bytes::test_bytes_read_bytes31 ... ok (gas usage est.: 481380) -test alexandria_bytes::tests::test_bytes::test_bytes_keccak ... ok (gas usage est.: 1289988) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u128 ... ok (gas usage est.: 208900) -test alexandria_bytes::tests::test_bytes::test_bytes_read_felt252_packed_too_large ... ok (gas usage est.: 126140) -test alexandria_bytes::tests::test_bytes::test_bytes_concat ... ok (gas usage est.: 2579620) -test alexandria_bytes::tests::test_bytes::test_byte_array_conversions ... ok (gas usage est.: 8777550) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u64 ... ok (gas usage est.: 191500) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u128_array_packed_too_large ... ok (gas usage est.: 69880) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u16 ... ok (gas usage est.: 191500) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u256_array ... ok (gas usage est.: 547350) -test alexandria_bytes::tests::test_bytes::test_bytes_sha256 ... ok (gas usage est.: 16729350) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u256 ... ok (gas usage est.: 286970) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u8 ... ok (gas usage est.: 191200) -test alexandria_bytes::tests::test_bytes::test_bytes_read_address ... ok (gas usage est.: 268110) -test alexandria_bytes::tests::test_bytes::test_bytes_read_felt252_packed ... ok (gas usage est.: 306790) -test alexandria_bytes::tests::test_bytes::test_bytes_read_u32 ... ok (gas usage est.: 191500) -test alexandria_bytes::tests::test_bytes::test_bytes_read_felt252_packed_out_of_bound ... ok (gas usage est.: 126140) -test alexandria_bytes::tests::test_bytes::test_bytes_read_bytes ... ok (gas usage est.: 902150) -test alexandria_bytes::tests::test_bytes_store::tests::test_deploy ... ok (gas usage est.: 423832) -test alexandria_bytes::tests::test_bytes_store::tests::test_bytes_storage_32_bytes ... ok (gas usage est.: 658508) -test alexandria_bytes::tests::test_bytes_store::tests::test_bytes_storage_40_bytes ... ok (gas usage est.: 702209) -test result: ok. 31 passed; 0 failed; 0 ignored; 0 filtered out; - - Running cairo-test alexandria_data_structures -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.03s - Compiling test(alexandria_data_structures_unittest) alexandria_data_structures v0.2.0 (/Users/gaetanansotte/quaireaux/packages/data_structures/Scarb.toml) -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - - Finished release target(s) in 6 seconds -testing alexandria_data_structures ... -running 270 tests -test alexandria_data_structures::tests::array_ext::pop_front_n::more_then_len ... ok (gas usage est.: 56140) -test alexandria_data_structures::tests::array_ext::max::max_one_item ... ok (gas usage est.: 136750) -test alexandria_data_structures::tests::array_ext::pop_front_n::of_u128 ... ok (gas usage est.: 144330) -test alexandria_data_structures::tests::array_ext::contains::of_u128 ... ok (gas usage est.: 73010) -test alexandria_data_structures::tests::array_ext::remove_front_n::remove_zero ... ok (gas usage est.: 190050) -test alexandria_data_structures::tests::array_ext::unique::duplicate_middle ... ok (gas usage est.: 214470) -test alexandria_data_structures::tests::array_ext::min::of_felt ... ok (gas usage est.: 160200) -test alexandria_data_structures::tests::array_ext::dedup::one_match_more ... ok (gas usage est.: 243730) -test alexandria_data_structures::tests::array_ext::append_all::of_felt ... ok (gas usage est.: 194260) -test alexandria_data_structures::tests::byte_appender::test_append_i32_le ... ok (gas usage est.: 384280) -test alexandria_data_structures::tests::array_ext::remove_front_n::of_felt ... ok (gas usage est.: 157170) -test alexandria_data_structures::tests::array_ext::remove_front_n::exact_len ... ok (gas usage est.: 53640) -test alexandria_data_structures::tests::array_ext::min::of_u128 ... ok (gas usage est.: 160200) -test alexandria_data_structures::tests::array_ext::dedup::all_same ... ok (gas usage est.: 164730) -test alexandria_data_structures::tests::byte_appender::test_append_i32_le_arr ... ok (gas usage est.: 288690) -test alexandria_data_structures::tests::array_ext::unique::duplicate_back ... ok (gas usage est.: 219010) -test alexandria_data_structures::tests::array_ext::append_all::of_u128 ... ok (gas usage est.: 179620) -test alexandria_data_structures::tests::array_ext::pop_front_n::empty_array ... ok (gas usage est.: 46460) -test alexandria_data_structures::tests::array_ext::contains::empty_array ... ok (gas usage est.: 44850) -test alexandria_data_structures::tests::array_ext::max::empty ... ok (gas usage est.: 43680) -test alexandria_data_structures::tests::array_ext::remove_front_n::of_u128 ... ok (gas usage est.: 142330) -test alexandria_data_structures::tests::array_ext::remove_front_n::more_then_len ... ok (gas usage est.: 53640) -test alexandria_data_structures::tests::array_ext::unique::without_duplicates ... ok (gas usage est.: 250180) -test alexandria_data_structures::tests::array_ext::max_position::max_position ... ok (gas usage est.: 198020) -test alexandria_data_structures::tests::array_ext::position::of_felt ... ok (gas usage est.: 168860) -test alexandria_data_structures::tests::array_ext::pop_front_n::pop_zero ... ok (gas usage est.: 154340) -test alexandria_data_structures::tests::array_ext::min::one_item ... ok (gas usage est.: 137190) -test alexandria_data_structures::tests::array_ext::append_all::destination_empty ... ok (gas usage est.: 196390) -test alexandria_data_structures::tests::array_ext::dedup::one_elem ... ok (gas usage est.: 212800) -test alexandria_data_structures::tests::byte_appender::test_append_i32_neg ... ok (gas usage est.: 339660) -test alexandria_data_structures::tests::array_ext::remove_front_n::empty_array ... ok (gas usage est.: 45120) -test alexandria_data_structures::tests::array_ext::reversed::of_felt ... ok (gas usage est.: 241380) -test alexandria_data_structures::tests::array_ext::pop_front_n::exact_len ... ok (gas usage est.: 146500) -test alexandria_data_structures::tests::byte_appender::test_append_i32_neg_arr ... ok (gas usage est.: 442710) -test alexandria_data_structures::tests::array_ext::position::of_u128 ... ok (gas usage est.: 186730) -test alexandria_data_structures::tests::array_ext::append_all::source_empty ... ok (gas usage est.: 196390) -test alexandria_data_structures::tests::array_ext::dedup::no_elem ... ok (gas usage est.: 206260) -test alexandria_data_structures::tests::array_ext::min::empty ... ok (gas usage est.: 43680) -test alexandria_data_structures::tests::array_ext::reversed::of_u128 ... ok (gas usage est.: 260230) -test alexandria_data_structures::tests::bit_array::test_append_bit ... ok (gas usage est.: 7555210) -test alexandria_data_structures::tests::array_ext::max_position::max_position_empty_array ... ok (gas usage est.: 44080) -test alexandria_data_structures::tests::array_ext::max_position::max_position_one_item ... ok (gas usage est.: 139020) -test alexandria_data_structures::tests::array_ext::append_all::both_empty ... ok (gas usage est.: 135410) -test alexandria_data_structures::tests::array_ext::min_position::of_u128 ... ok (gas usage est.: 198020) -test alexandria_data_structures::tests::array_ext::min_position::min_position_one_item ... ok (gas usage est.: 138580) -test alexandria_data_structures::tests::array_ext::dedup::multiple_duplicates_same ... ok (gas usage est.: 191400) -test alexandria_data_structures::tests::array_ext::position::empty_array ... ok (gas usage est.: 45620) -test alexandria_data_structures::tests::byte_appender::test_append_i32_le_neg ... ok (gas usage est.: 508660) -test alexandria_data_structures::tests::bit_array::test_at ... ok (gas usage est.: 5441480) -test alexandria_data_structures::tests::byte_reader::test_read_sequence ... ok (gas usage est.: 1441280) -test alexandria_data_structures::tests::array_ext::reversed::even ... ok (gas usage est.: 218150) -test alexandria_data_structures::tests::array_ext::dedup::all_different ... ok (gas usage est.: 232720) -test alexandria_data_structures::tests::byte_appender::test_append_i32_le_neg_arr ... ok (gas usage est.: 376590) -test alexandria_data_structures::tests::array_ext::max::max ... ok (gas usage est.: 159760) -test alexandria_data_structures::tests::array_ext::reversed::size_1 ... ok (gas usage est.: 189430) -test alexandria_data_structures::tests::byte_reader::test_read_sequence_arr ... ok (gas usage est.: 478160) -test alexandria_data_structures::tests::array_ext::min_position::min_position_empty_array ... ok (gas usage est.: 44080) -test alexandria_data_structures::tests::bit_array::test_at_none ... ok (gas usage est.: 44210) -test alexandria_data_structures::tests::array_ext::occurrences::of_felt ... ok (gas usage est.: 240850) -test alexandria_data_structures::tests::array_ext::extend_from_span::of_felt ... ok (gas usage est.: 234660) -test alexandria_data_structures::tests::array_ext::unique::one_duplicate ... ok (gas usage est.: 199650) -test alexandria_data_structures::tests::array_ext::dedup::one_match ... ok (gas usage est.: 236990) -test alexandria_data_structures::tests::byte_appender::test_append_i64 ... ok (gas usage est.: 295640) -test alexandria_data_structures::tests::bit_array::test_index ... ok (gas usage est.: 66320) -test alexandria_data_structures::tests::array_ext::reversed::empty ... ok (gas usage est.: 135070) -test alexandria_data_structures::tests::array_ext::unique::all_same ... ok (gas usage est.: 163810) -test alexandria_data_structures::tests::byte_reader::test_read_sequence_le ... ok (gas usage est.: 1441280) -test alexandria_data_structures::tests::byte_appender::test_append_u32 ... ok (gas usage est.: 295640) -test alexandria_data_structures::tests::array_ext::occurrences::of_u128 ... ok (gas usage est.: 240850) -test alexandria_data_structures::tests::array_ext::extend_from_span::of_u128 ... ok (gas usage est.: 271100) -test alexandria_data_structures::tests::array_ext::max::max_empty_array ... ok (gas usage est.: 45620) -test alexandria_data_structures::tests::array_ext::dedup::two_matches ... ok (gas usage est.: 240360) -test alexandria_data_structures::tests::byte_appender::test_append_i64_arr ... ok (gas usage est.: 410650) -test alexandria_data_structures::tests::array_ext::occurrences::empty_array ... ok (gas usage est.: 136040) -test alexandria_data_structures::tests::bit_array::test_read_word_be_half ... ok (gas usage est.: 3152290) -test alexandria_data_structures::tests::array_ext::extend_from_span::empty_array ... ok (gas usage est.: 205080) -test alexandria_data_structures::tests::array_ext::unique::duplicate_front ... ok (gas usage est.: 205390) -test alexandria_data_structures::tests::array_ext::unique::empty ... ok (gas usage est.: 48450) -test alexandria_data_structures::tests::byte_reader::test_read_sequence_le_arr ... ok (gas usage est.: 478160) -test alexandria_data_structures::tests::byte_appender::test_append_u32_arr ... ok (gas usage est.: 317610) -test alexandria_data_structures::tests::array_ext::contains::of_felt ... ok (gas usage est.: 73010) -test alexandria_data_structures::tests::bit_array::test_index_fail ... ok (gas usage est.: 23070) -test alexandria_data_structures::tests::byte_appender::test_append_i64_le ... ok (gas usage est.: 442040) -test alexandria_data_structures::tests::byte_reader::test_word_u32_arr ... ok (gas usage est.: 49830) -test alexandria_data_structures::tests::byte_reader::test_clone_byte_array_reader ... ok (gas usage est.: 752670) -test alexandria_data_structures::tests::byte_appender::test_append_i64_le_arr ... ok (gas usage est.: 351970) -test alexandria_data_structures::tests::bit_array::test_len ... ok (gas usage est.: 63270) -test alexandria_data_structures::tests::byte_appender::test_append_u32_le ... ok (gas usage est.: 376400) -test alexandria_data_structures::tests::byte_appender::test_append_u512_arr ... ok (gas usage est.: 991470) -test alexandria_data_structures::tests::span_ext::remove_back_n::exact_len ... ok (gas usage est.: 43060) -test alexandria_data_structures::tests::byte_reader::test_word_u128_le ... ok (gas usage est.: 397890) -test alexandria_data_structures::tests::array_ext::extend_from_span::empty_span ... ok (gas usage est.: 216840) -test alexandria_data_structures::tests::bit_array::test_read_word_le_half ... ok (gas usage est.: 4176550) -test alexandria_data_structures::tests::byte_reader::test_word_u32_le ... ok (gas usage est.: 146820) -test alexandria_data_structures::tests::array_ext::extend_from_span::from_self ... ok (gas usage est.: 233960) -test alexandria_data_structures::tests::span_ext::remove_back_n::more_then_len ... ok (gas usage est.: 43060) -test alexandria_data_structures::tests::byte_appender::test_append_u512_le ... ok (gas usage est.: 883340) -test alexandria_data_structures::tests::byte_reader::test_clone_array_of_bytes_reader ... ok (gas usage est.: 256700) -test alexandria_data_structures::tests::bit_array::test_pop_front ... ok (gas usage est.: 46680) -test alexandria_data_structures::tests::byte_appender::test_append_i64_neg ... ok (gas usage est.: 299780) -test alexandria_data_structures::tests::byte_appender::test_append_u32_le_arr ... ok (gas usage est.: 280810) -test alexandria_data_structures::tests::byte_reader::test_word_u128_le_arr ... ok (gas usage est.: 133980) -test alexandria_data_structures::tests::bit_array::test_write_word_be ... ok (gas usage est.: 7051990) -test alexandria_data_structures::tests::byte_reader::test_word_u32_le_arr ... ok (gas usage est.: 49830) -test alexandria_data_structures::tests::bit_array::test_pop_front_empty ... ok (gas usage est.: 43340) -test alexandria_data_structures::tests::byte_reader::test_byte_array_reader_equals_array_of_bytes_reader ... ok (gas usage est.: 1197030) -test alexandria_data_structures::tests::byte_appender::test_append_i64_neg_arr ... ok (gas usage est.: 414790) -test alexandria_data_structures::tests::stack::felt252_stack_new_test ... ok (gas usage est.: 32650) -test alexandria_data_structures::tests::byte_reader::test_word_u128_none ... ok (gas usage est.: 397990) -test alexandria_data_structures::tests::array_ext::concat::of_felt ... ok (gas usage est.: 263700) -test alexandria_data_structures::tests::byte_appender::test_append_u64 ... ok (gas usage est.: 295640) -test alexandria_data_structures::tests::byte_appender::test_append_u512_le_arr ... ok (gas usage est.: 739310) -test alexandria_data_structures::tests::bit_array::test_write_word_be_half ... ok (gas usage est.: 3475380) -test alexandria_data_structures::tests::byte_reader::test_word_u32_none ... ok (gas usage est.: 146920) -test alexandria_data_structures::tests::bit_array::test_read_word_be ... ok (gas usage est.: 3301410) -test alexandria_data_structures::tests::queue::queue_new_test ... ok (gas usage est.: 130330) -test alexandria_data_structures::tests::array_ext::concat::of_u128 ... ok (gas usage est.: 296590) -test alexandria_data_structures::tests::byte_appender::test_append_i8 ... ok (gas usage est.: 245640) -test alexandria_data_structures::tests::stack::felt252_stack_is_empty_test ... ok (gas usage est.: 32650) -test alexandria_data_structures::tests::byte_appender::test_append_i64_le_neg ... ok (gas usage est.: 442040) -test alexandria_data_structures::tests::byte_reader::test_word_u128_le_none ... ok (gas usage est.: 397990) -test alexandria_data_structures::tests::bit_array::test_write_word_le ... ok (gas usage est.: 6877820) -test alexandria_data_structures::tests::byte_appender::test_append_u64_arr ... ok (gas usage est.: 410650) -test alexandria_data_structures::tests::byte_reader::test_word_u32_none_arr ... ok (gas usage est.: 49930) -test alexandria_data_structures::tests::bit_array::test_read_word_le ... ok (gas usage est.: 4331050) -test alexandria_data_structures::tests::array_ext::concat::empty_array_1 ... ok (gas usage est.: 227690) -test alexandria_data_structures::tests::byte_appender::test_append_i64_le_neg_arr ... ok (gas usage est.: 351970) -test alexandria_data_structures::tests::byte_appender::test_append_i8_arr ... ok (gas usage est.: 206790) -test alexandria_data_structures::tests::queue::queue_is_empty_test ... ok (gas usage est.: 22540) -test alexandria_data_structures::tests::byte_reader::test_word_u128_le_none_arr ... ok (gas usage est.: 134080) -test alexandria_data_structures::tests::byte_appender::test_append_u64_le ... ok (gas usage est.: 434160) -test alexandria_data_structures::tests::bit_array::test_write_word_le_half ... ok (gas usage est.: 3402970) -test alexandria_data_structures::tests::byte_reader::test_word_u32_le_none ... ok (gas usage est.: 146920) -test alexandria_data_structures::tests::stack::felt252_stack_push_test ... ok (gas usage est.: 52930) -test alexandria_data_structures::tests::bit_array::test_read_word_be_u256 ... ok (gas usage est.: 10038080) -test alexandria_data_structures::tests::array_ext::concat::empty_array_2 ... ok (gas usage est.: 227890) -test alexandria_data_structures::tests::byte_appender::test_append_i128 ... ok (gas usage est.: 316780) -test alexandria_data_structures::tests::bit_array::test_write_word_be_u256 ... ok (gas usage est.: 13773500) -test alexandria_data_structures::tests::byte_reader::test_reader_helper ... ok (gas usage est.: 91630) -test alexandria_data_structures::tests::stack::felt252_stack_peek_test ... ok (gas usage est.: 55240) -test alexandria_data_structures::tests::byte_appender::test_append_u64_le_arr ... ok (gas usage est.: 344090) -test alexandria_data_structures::tests::byte_reader::test_word_u32_le_none_arr ... ok (gas usage est.: 49930) -test alexandria_data_structures::tests::queue::queue_enqueue_test ... ok (gas usage est.: 131970) -test alexandria_data_structures::tests::byte_appender::test_append_i8_neg ... ok (gas usage est.: 247710) -test alexandria_data_structures::tests::bit_array::test_read_word_le_u256 ... ok (gas usage est.: 10875980) -test alexandria_data_structures::tests::array_ext::concat::both_empty ... ok (gas usage est.: 49990) -test alexandria_data_structures::tests::byte_appender::test_append_u128 ... ok (gas usage est.: 316780) -test alexandria_data_structures::tests::byte_appender::test_append_i128_arr ... ok (gas usage est.: 604010) -test alexandria_data_structures::tests::byte_reader::test_word_u64 ... ok (gas usage est.: 219060) -test alexandria_data_structures::tests::queue::queue_peek_front_test ... ok (gas usage est.: 147120) -test alexandria_data_structures::tests::byte_appender::test_append_i8_neg_arr ... ok (gas usage est.: 208860) -test alexandria_data_structures::tests::bit_array::test_write_word_le_u256 ... ok (gas usage est.: 13429750) -test alexandria_data_structures::tests::byte_reader::test_reader_helper_arr ... ok (gas usage est.: 257760) -test alexandria_data_structures::tests::stack::felt252_stack_pop_test ... ok (gas usage est.: 55240) -test alexandria_data_structures::tests::bit_array::test_read_word_be_u512 ... ok (gas usage est.: 23799480) -test alexandria_data_structures::tests::array_ext::pop_front_n::of_felt ... ok (gas usage est.: 162030) -test alexandria_data_structures::tests::byte_appender::test_append_i128_le ... ok (gas usage est.: 578900) -test alexandria_data_structures::tests::byte_appender::test_append_u128_arr ... ok (gas usage est.: 595930) -test alexandria_data_structures::tests::queue::queue_dequeue_test ... ok (gas usage est.: 132210) -test alexandria_data_structures::tests::byte_reader::test_word_u64_arr ... ok (gas usage est.: 66430) -test alexandria_data_structures::tests::byte_reader::test_len ... ok (gas usage est.: 1406210) -test alexandria_data_structures::tests::byte_appender::test_append_i16 ... ok (gas usage est.: 331380) -test alexandria_data_structures::tests::stack::felt252_stack_push_pop_push_test ... ok (gas usage est.: 60030) -test alexandria_data_structures::tests::bit_array::test_write_word_be_u512 ... ok (gas usage est.: 27517230) -test alexandria_data_structures::tests::bit_array::test_read_word_le_u512 ... ok (gas usage est.: 24289040) -test alexandria_data_structures::tests::byte_reader::test_word_u16 ... ok (gas usage est.: 110700) -test alexandria_data_structures::tests::byte_appender::test_append_i128_le_arr ... ok (gas usage est.: 477930) -test alexandria_data_structures::tests::span_ext::pop_front_n::of_felt ... ok (gas usage est.: 154430) -test alexandria_data_structures::tests::stack::nullable_stack_new_test ... ok (gas usage est.: 32650) -test alexandria_data_structures::tests::byte_reader::test_len_arr ... ok (gas usage est.: 450720) -test alexandria_data_structures::tests::byte_appender::test_append_u128_le ... ok (gas usage est.: 570820) -test alexandria_data_structures::tests::byte_reader::test_word_u64_le ... ok (gas usage est.: 219060) -test alexandria_data_structures::tests::byte_appender::test_append_i16_arr ... ok (gas usage est.: 341390) -test alexandria_data_structures::tests::byte_appender::test_append_i128_le_neg ... ok (gas usage est.: 408830) -test alexandria_data_structures::tests::byte_reader::test_word_u16_arr ... ok (gas usage est.: 41530) -test alexandria_data_structures::tests::bit_array::test_write_word_le_u512 ... ok (gas usage est.: 26824980) -test alexandria_data_structures::tests::byte_appender::test_append_i128_neg ... ok (gas usage est.: 279940) -test alexandria_data_structures::tests::span_ext::pop_front_n::of_u128 ... ok (gas usage est.: 136730) -test alexandria_data_structures::tests::byte_reader::test_read_u256 ... ok (gas usage est.: 742390) -test alexandria_data_structures::tests::stack::nullable_stack_is_empty_test ... ok (gas usage est.: 32650) -test alexandria_data_structures::tests::byte_appender::test_append_i128_le_neg_arr ... ok (gas usage est.: 339760) -test alexandria_data_structures::tests::byte_appender::test_append_i16_le ... ok (gas usage est.: 450900) -test alexandria_data_structures::tests::byte_reader::test_word_u16_le ... ok (gas usage est.: 110700) -test alexandria_data_structures::tests::byte_reader::test_word_u64_le_arr ... ok (gas usage est.: 66430) -test alexandria_data_structures::tests::byte_appender::test_append_u128_le_arr ... ok (gas usage est.: 469850) -test alexandria_data_structures::tests::byte_appender::test_append_i128_neg_arr ... ok (gas usage est.: 402800) -test alexandria_data_structures::tests::span_ext::pop_front_n::empty_array ... ok (gas usage est.: 45140) -test alexandria_data_structures::tests::byte_reader::test_read_u256_arr ... ok (gas usage est.: 251380) -test alexandria_data_structures::tests::stack::nullable_stack_push_test ... ok (gas usage est.: 53530) -test alexandria_data_structures::tests::byte_reader::test_word_u64_none ... ok (gas usage est.: 219160) -test alexandria_data_structures::tests::byte_appender::test_append_u256 ... ok (gas usage est.: 316780) -test alexandria_data_structures::tests::byte_reader::test_word_u16_le_arr ... ok (gas usage est.: 41530) -test alexandria_data_structures::tests::byte_array_ext::test_span_u8_into_byte_array ... ok (gas usage est.: 592910) -test alexandria_data_structures::tests::byte_appender::test_append_i16_le_arr ... ok (gas usage est.: 313310) -test alexandria_data_structures::tests::bit_array::test_stress_test ... ok (gas usage est.: 524890090) -test alexandria_data_structures::tests::byte_appender::test_append_u256_le ... ok (gas usage est.: 572220) -test alexandria_data_structures::tests::span_ext::pop_front_n::pop_zero ... ok (gas usage est.: 188960) -test alexandria_data_structures::tests::byte_reader::test_read_u256_le ... ok (gas usage est.: 742390) -test alexandria_data_structures::tests::byte_reader::test_word_u16_none ... ok (gas usage est.: 110800) -test alexandria_data_structures::tests::byte_array_ext::test_byte_array_into_array_u8 ... ok (gas usage est.: 2986440) -test alexandria_data_structures::tests::stack::nullable_stack_peek_test ... ok (gas usage est.: 64650) -test alexandria_data_structures::tests::byte_appender::test_append_u256_arr ... ok (gas usage est.: 595930) -test alexandria_data_structures::tests::byte_reader::test_word_u64_none_arr ... ok (gas usage est.: 66530) -test alexandria_data_structures::tests::byte_appender::test_append_i16_neg ... ok (gas usage est.: 419420) -test alexandria_data_structures::tests::bit_array::test_serde_serialize ... ok (gas usage est.: 37640) -test alexandria_data_structures::tests::byte_appender::test_append_u256_le_arr ... ok (gas usage est.: 469850) -test alexandria_data_structures::tests::span_ext::pop_front_n::exact_len ... ok (gas usage est.: 135760) -test alexandria_data_structures::tests::byte_reader::test_word_u64_le_none ... ok (gas usage est.: 219160) -test alexandria_data_structures::tests::byte_reader::test_read_u256_le_arr ... ok (gas usage est.: 251380) -test alexandria_data_structures::tests::byte_appender::test_append_i16_neg_arr ... ok (gas usage est.: 498550) -test alexandria_data_structures::tests::byte_reader::test_word_u16_le_none ... ok (gas usage est.: 110800) -test alexandria_data_structures::tests::byte_reader::test_word_u16_le_none_arr ... ok (gas usage est.: 41630) -test alexandria_data_structures::tests::stack::nullable_stack_pop_test ... ok (gas usage est.: 64650) -test alexandria_data_structures::tests::byte_reader::test_word_u16_none_arr ... ok (gas usage est.: 41630) -test alexandria_data_structures::tests::byte_appender::test_append_u512 ... ok (gas usage est.: 373660) -test alexandria_data_structures::tests::span_ext::pop_front_n::more_then_len ... ok (gas usage est.: 45400) -test alexandria_data_structures::tests::bit_array::test_serde_ser_deser ... ok (gas usage est.: 79760300) -test alexandria_data_structures::tests::byte_reader::test_read_u512 ... ok (gas usage est.: 1406870) -test alexandria_data_structures::tests::byte_appender::test_append_i16_le_neg ... ok (gas usage est.: 641900) -test alexandria_data_structures::tests::byte_reader::test_word_u64_le_none_arr ... ok (gas usage est.: 66530) -test alexandria_data_structures::tests::vec::felt252_vec_at_test ... ok (gas usage est.: 48610) -test alexandria_data_structures::tests::stack::nullable_stack_push_pop_push_test ... ok (gas usage est.: 78450) -test alexandria_data_structures::tests::byte_appender::test_append_u16_arr ... ok (gas usage est.: 341390) -test alexandria_data_structures::tests::byte_reader::test_word_u32 ... ok (gas usage est.: 146820) -test alexandria_data_structures::tests::byte_appender::test_append_u16_le ... ok (gas usage est.: 435340) -test alexandria_data_structures::tests::byte_appender::test_append_u16 ... ok (gas usage est.: 331380) -test alexandria_data_structures::tests::span_ext::pop_back_n::of_felt ... ok (gas usage est.: 190170) -test alexandria_data_structures::tests::byte_reader::test_read_u512_arr ... ok (gas usage est.: 465660) -test alexandria_data_structures::tests::byte_appender::test_append_i16_le_neg_arr ... ok (gas usage est.: 425830) -test alexandria_data_structures::tests::byte_appender::test_append_u16_le_arr ... ok (gas usage est.: 297550) -test alexandria_data_structures::tests::vec::felt252_vec_at_out_of_bounds_test ... ok (gas usage est.: 9910) -test alexandria_data_structures::tests::vec::felt252_vec_len_test ... ok (gas usage est.: 46350) -test alexandria_data_structures::tests::byte_reader::test_word_u128 ... ok (gas usage est.: 397890) -test alexandria_data_structures::tests::vec::felt252_vec_new_test ... ok (gas usage est.: 32650) -test alexandria_data_structures::tests::vec::nullable_vec_len_test ... ok (gas usage est.: 46450) -test alexandria_data_structures::tests::vec::felt252_vec_get_test ... ok (gas usage est.: 56250) -test alexandria_data_structures::tests::span_ext::pop_back_n::of_u128 ... ok (gas usage est.: 172470) -test alexandria_data_structures::tests::byte_reader::test_read_u512_le ... ok (gas usage est.: 1406870) -test alexandria_data_structures::tests::byte_appender::test_append_i32 ... ok (gas usage est.: 295640) -test alexandria_data_structures::tests::vec::felt252_vec_set_test_expect_error ... ok (gas usage est.: 25580) -test alexandria_data_structures::tests::vec::felt252_vec_push_test ... ok (gas usage est.: 48960) -test alexandria_data_structures::tests::vec::felt252_vec_index_trait_out_of_bounds_test ... ok (gas usage est.: 9910) -test alexandria_data_structures::tests::byte_appender::test_append_i32_arr ... ok (gas usage est.: 317610) -test alexandria_data_structures::tests::byte_reader::test_word_u128_arr ... ok (gas usage est.: 133980) -test alexandria_data_structures::tests::vec::nullable_vec_get_test ... ok (gas usage est.: 56990) -test alexandria_data_structures::tests::span_ext::pop_back_n::empty_array ... ok (gas usage est.: 45140) -test alexandria_data_structures::tests::vec::felt252_vec_set_test ... ok (gas usage est.: 51470) -test alexandria_data_structures::tests::byte_reader::test_read_u512_le_arr ... ok (gas usage est.: 465660) -test alexandria_data_structures::tests::vec::nullable_vec_push_test ... ok (gas usage est.: 49280) -test alexandria_data_structures::tests::vec::felt252_vec_index_trait_test ... ok (gas usage est.: 57910) -test alexandria_data_structures::tests::vec::nullable_vec_at_test ... ok (gas usage est.: 48930) -test alexandria_data_structures::tests::span_ext::remove_front_n::of_u128 ... ok (gas usage est.: 134660) -test alexandria_data_structures::tests::span_ext::pop_back_n::pop_zero ... ok (gas usage est.: 189770) -test alexandria_data_structures::tests::vec::nullable_vec_new_test ... ok (gas usage est.: 32650) -test alexandria_data_structures::tests::span_ext::remove_front_n::more_then_len ... ok (gas usage est.: 43330) -test alexandria_data_structures::tests::span_ext::remove_back_n::of_u128 ... ok (gas usage est.: 170130) -test alexandria_data_structures::tests::vec::nullable_vec_at_out_of_bounds_test ... ok (gas usage est.: 25230) -test alexandria_data_structures::tests::span_ext::remove_back_n::empty_array ... ok (gas usage est.: 42260) -test alexandria_data_structures::tests::vec::nullable_vec_set_test ... ok (gas usage est.: 51990) -test alexandria_data_structures::tests::span_ext::pop_back_n::more_then_len ... ok (gas usage est.: 45400) -test alexandria_data_structures::tests::span_ext::pop_back_n::exact_len ... ok (gas usage est.: 135760) -test alexandria_data_structures::tests::span_ext::remove_front_n::empty_array ... ok (gas usage est.: 42530) -test alexandria_data_structures::tests::span_ext::remove_front_n::remove_zero ... ok (gas usage est.: 187660) -test alexandria_data_structures::tests::span_ext::remove_back_n::of_felt ... ok (gas usage est.: 184970) -test alexandria_data_structures::tests::span_ext::remove_front_n::of_felt ... ok (gas usage est.: 149500) -test alexandria_data_structures::tests::span_ext::remove_back_n::remove_zero ... ok (gas usage est.: 187390) -test alexandria_data_structures::tests::span_ext::remove_front_n::exact_len ... ok (gas usage est.: 43330) -test alexandria_data_structures::tests::vec::nullable_vec_index_trait_test ... ok (gas usage est.: 58550) -test alexandria_data_structures::tests::vec::nullable_vec_set_test_expect_error ... ok (gas usage est.: 25680) -test alexandria_data_structures::tests::vec::nullable_vec_index_trait_out_of_bounds_test ... ok (gas usage est.: 25330) -test result: ok. 270 passed; 0 failed; 0 ignored; 0 filtered out; - - Running cairo-test alexandria_encoding -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.06s - Compiling test(alexandria_encoding_unittest) alexandria_encoding v0.1.0 (/Users/gaetanansotte/quaireaux/packages/encoding/Scarb.toml) -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - -warn: Unused import: `alexandria_encoding::tests::sol_abi::bytes_31` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/tests/sol_abi.cairo:7:11 -use core::bytes_31; - ^******^ - -warn: Unused import: `alexandria_encoding::tests::sol_abi::FormatAsByteArray` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/tests/sol_abi.cairo:8:26 -use core::to_byte_array::FormatAsByteArray; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - -warning: Unused import: `alexandria_encoding::tests::sol_abi::bytes_31` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/tests/sol_abi.cairo:7:11 -use core::bytes_31; - ^******^ - -warning: Unused import: `alexandria_encoding::tests::sol_abi::FormatAsByteArray` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/tests/sol_abi.cairo:8:26 -use core::to_byte_array::FormatAsByteArray; - ^***************^ - - Finished release target(s) in 5 seconds -testing alexandria_encoding ... -running 75 tests -test alexandria_encoding::tests::rlp_test::test_rlp_decode_type_long_list ... ok (gas usage est.: 44530) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_short_nested_list ... ok (gas usage est.: 397400) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_long_list_with_len_too_short ... ok (gas usage est.: 49540) -test alexandria_encoding::tests::rlp_test::test_rlp_empty ... ok (gas usage est.: 49140) -test alexandria_encoding::tests::reversible_test::test_reverse_bytes_u64 ... ok (gas usage est.: 101040) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_long_string_with_payload_len_on_1_byte ... ok (gas usage est.: 296860) -test alexandria_encoding::tests::reversible_test::test_reverse_bits_array ... ok (gas usage est.: 830320) -test alexandria_encoding::tests::base64_test::base64decode_simple_test ... ok (gas usage est.: 459378) -test alexandria_encoding::tests::base64_felt_test::base64encode_empty_test ... ok (gas usage est.: 1040994) -test alexandria_encoding::tests::reversible_test::test_reverse_bits_u64 ... ok (gas usage est.: 559120) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_type_long_list_len_too_short ... ok (gas usage est.: 34160) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_multi_list ... ok (gas usage est.: 262870) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_empty_input_should_fail ... ok (gas usage est.: 61132) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_string_default_value ... ok (gas usage est.: 58690) -test alexandria_encoding::tests::reversible_test::test_reverse_bytes_u128 ... ok (gas usage est.: 272900) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_type_byte ... ok (gas usage est.: 34200) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_long_string_with_input_too_short ... ok (gas usage est.: 67760) -test alexandria_encoding::tests::base64_felt_test::base64encode_simple_test ... ok (gas usage est.: 1042024) -test alexandria_encoding::tests::base64_test::base64decode_hello_world_test ... ok (gas usage est.: 1425212) -test alexandria_encoding::tests::reversible_test::test_reverse_bits_u128 ... ok (gas usage est.: 1890180) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_type_long_string_payload_too_long ... ok (gas usage est.: 35560) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_default_value ... ok (gas usage est.: 67242) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_short_list_with_input_too_short ... ok (gas usage est.: 50940) -test alexandria_encoding::tests::base64_test::base64encode_with_plus_and_slash ... ok (gas usage est.: 201756) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_type_short_string ... ok (gas usage est.: 34200) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_string ... ok (gas usage est.: 9931960) -test alexandria_encoding::tests::base64_felt_test::base64encode_hello_world_test ... ok (gas usage est.: 1146791) -test alexandria_encoding::tests::reversible_test::test_reverse_bytes_u256 ... ok (gas usage est.: 805670) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_long_string_with_payload_len_on_2_bytes ... ok (gas usage est.: 1007730) -test alexandria_encoding::tests::reversible_test::test_reverse_bits_u256 ... ok (gas usage est.: 3759980) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_string_single_byte_lt_0x80 ... ok (gas usage est.: 67442) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_type_long_list_payload_too_long ... ok (gas usage est.: 34960) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_long_list ... ok (gas usage est.: 3058750) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_type_long_string ... ok (gas usage est.: 44530) -test alexandria_encoding::tests::base64_test::base64urlencode_with_plus_and_slash ... ok (gas usage est.: 201756) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_long_string_with_payload_len_too_short ... ok (gas usage est.: 49540) -test alexandria_encoding::tests::base64_felt_test::base64encode_with_plus_and_slash ... ok (gas usage est.: 1048874) -test alexandria_encoding::tests::reversible_test::test_reverse_bytes_u512 ... ok (gas usage est.: 1533000) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_short_string ... ok (gas usage est.: 171730) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_short_list ... ok (gas usage est.: 231500) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_string_single_byte_ge_0x80 ... ok (gas usage est.: 75562) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_long_list_with_input_too_short ... ok (gas usage est.: 64670) -test alexandria_encoding::tests::reversible_test::test_reverse_bits_u512 ... ok (gas usage est.: 11236680) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_type_short_list ... ok (gas usage est.: 34200) -test alexandria_encoding::tests::base64_test::base64decode_with_plus_and_slash ... ok (gas usage est.: 460688) -test alexandria_encoding::tests::base64_felt_test::base64urlencode_with_plus_and_slash ... ok (gas usage est.: 1048874) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_mutilple_string ... ok (gas usage est.: 154594) -test alexandria_encoding::tests::rlp_test::test_rlp_decode_short_string_input_too_short ... ok (gas usage est.: 54540) -test alexandria_encoding::tests::reversible_test::test_reverse_bytes_bytes31 ... ok (gas usage est.: 543460) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_string_length_between_2_and_55 ... ok (gas usage est.: 81612) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_string_length_exactly_56 ... ok (gas usage est.: 1715722) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_string_length_greater_than_56 ... ok (gas usage est.: 1818642) -test alexandria_encoding::tests::reversible_test::test_reverse_bits_bytes31 ... ok (gas usage est.: 3676940) -test alexandria_encoding::tests::sol_abi::encode_packed_test ... ok (gas usage est.: 5448060) -test alexandria_encoding::tests::base64_test::base64urldecode_with_plus_and_slash ... ok (gas usage est.: 460688) -test alexandria_encoding::tests::base64_test::base64encode_empty_test ... ok (gas usage est.: 152580) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_short_list ... ok (gas usage est.: 304428) -test alexandria_encoding::tests::reversible_test::test_reverse_bits_u8 ... ok (gas usage est.: 101040) -test alexandria_encoding::tests::reversible_test::test_reverse_bits_u16 ... ok (gas usage est.: 166480) -test alexandria_encoding::tests::base64_test::base64encode_hello_world_test ... ok (gas usage est.: 285690) -test alexandria_encoding::tests::base64_test::base64encode_simple_test ... ok (gas usage est.: 201556) -test alexandria_encoding::tests::reversible_test::test_reverse_bytes_u8 ... ok (gas usage est.: 22880) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_string_large_bytearray_inputs ... ok (gas usage est.: 14399692) -test alexandria_encoding::tests::reversible_test::test_reverse_bytes_array ... ok (gas usage est.: 340440) -test alexandria_encoding::tests::sol_abi::encoded_as_test ... ok (gas usage est.: 7241320) -test alexandria_encoding::tests::reversible_test::test_reverse_bytes_u16 ... ok (gas usage est.: 51960) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_short_nested_list ... ok (gas usage est.: 412336) -test alexandria_encoding::tests::sol_abi::selector_test ... ok (gas usage est.: 623500) -test alexandria_encoding::tests::base64_test::base64decode_empty_test ... ok (gas usage est.: 141230) -test alexandria_encoding::tests::sol_abi::decode_test ... ok (gas usage est.: 5747490) -test alexandria_encoding::tests::reversible_test::test_reverse_bits_u32 ... ok (gas usage est.: 297360) -test alexandria_encoding::tests::sol_abi::encode_test ... ok (gas usage est.: 6428280) -test alexandria_encoding::tests::sol_abi::sol_bytes_test ... ok (gas usage est.: 11272510) -test alexandria_encoding::tests::reversible_test::test_reverse_bytes_u32 ... ok (gas usage est.: 68320) -test alexandria_encoding::tests::rlp_test::test_rlp_encode_long_list ... ok (gas usage est.: 15378856) -test result: ok. 75 passed; 0 failed; 0 ignored; 0 filtered out; - - Running cairo-test alexandria_linalg -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.03s - Compiling test(alexandria_linalg_unittest) alexandria_linalg v0.1.0 (/Users/gaetanansotte/quaireaux/packages/linalg/Scarb.toml) - Finished release target(s) in 3 seconds -testing alexandria_linalg ... -running 8 tests -test alexandria_linalg::tests::norm_test::norm_test_3 ... ok (gas usage est.: 160190) -test alexandria_linalg::tests::dot_test::dot_product_test ... ok (gas usage est.: 152240) -test alexandria_linalg::tests::norm_test::norm_test_2 ... ok (gas usage est.: 184370) -test alexandria_linalg::tests::norm_test::norm_test_1 ... ok (gas usage est.: 551540) -test alexandria_linalg::tests::kron_test::kron_product_test_check_len ... ok (gas usage est.: 66140) -test alexandria_linalg::tests::kron_test::kron_product_test ... ok (gas usage est.: 206110) -test alexandria_linalg::tests::norm_test::norm_test_into ... ok (gas usage est.: 551540) -test alexandria_linalg::tests::dot_test::dot_product_test_check_len ... ok (gas usage est.: 4570) -test result: ok. 8 passed; 0 failed; 0 ignored; 0 filtered out; - - Running cairo-test alexandria_macros -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.03s - Finished release target(s) in 0 seconds -testing alexandria_macros ... - Running cairo-test alexandria_math -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.03s - Compiling test(alexandria_math_unittest) alexandria_math v0.2.1 (/Users/gaetanansotte/quaireaux/packages/math/Scarb.toml) -warn: Usage of deprecated feature `"deprecated-sha256"` with no `#[feature("deprecated-sha256")]` attribute. Note: "Use `core::sha256::compute_sha256_byte_array`." - --> /Users/gaetanansotte/quaireaux/packages/math/src/tests/sha256_test.cairo:7:26 - let result = sha256::sha256(input); - ^****^ - -warn: Usage of deprecated feature `"deprecated-sha256"` with no `#[feature("deprecated-sha256")]` attribute. Note: "Use `core::sha256::compute_sha256_byte_array`." - --> /Users/gaetanansotte/quaireaux/packages/math/src/tests/sha256_test.cairo:51:26 - let result = sha256::sha256(input); - ^****^ - -warn: Usage of deprecated feature `"deprecated-sha256"` with no `#[feature("deprecated-sha256")]` attribute. Note: "Use `core::sha256::compute_sha256_byte_array`." - --> /Users/gaetanansotte/quaireaux/packages/math/src/tests/sha256_test.cairo:417:26 - let result = sha256::sha256(input); - ^****^ - -warn: Usage of deprecated feature `"deprecated-sha256"` with no `#[feature("deprecated-sha256")]` attribute. Note: "Use `core::sha256::compute_sha256_byte_array`." - --> /Users/gaetanansotte/quaireaux/packages/math/src/tests/sha256_test.cairo:667:26 - let result = sha256::sha256(data); - ^****^ - -warn: Usage of deprecated feature `"deprecated-keccak"` with no `#[feature("deprecated-keccak")]` attribute. Note: "Use `core::keccak::compute_keccak_byte_array`." - --> /Users/gaetanansotte/quaireaux/packages/math/src/tests/test_keccak256.cairo:1:33 -use alexandria_math::keccak256::keccak256; - ^*******^ - -warning: Usage of deprecated feature `"deprecated-sha256"` with no `#[feature("deprecated-sha256")]` attribute. Note: "Use `core::sha256::compute_sha256_byte_array`." - --> /Users/gaetanansotte/quaireaux/packages/math/src/tests/sha256_test.cairo:7:26 - let result = sha256::sha256(input); - ^****^ - -warning: Usage of deprecated feature `"deprecated-sha256"` with no `#[feature("deprecated-sha256")]` attribute. Note: "Use `core::sha256::compute_sha256_byte_array`." - --> /Users/gaetanansotte/quaireaux/packages/math/src/tests/sha256_test.cairo:51:26 - let result = sha256::sha256(input); - ^****^ - -warning: Usage of deprecated feature `"deprecated-sha256"` with no `#[feature("deprecated-sha256")]` attribute. Note: "Use `core::sha256::compute_sha256_byte_array`." - --> /Users/gaetanansotte/quaireaux/packages/math/src/tests/sha256_test.cairo:417:26 - let result = sha256::sha256(input); - ^****^ - -warning: Usage of deprecated feature `"deprecated-sha256"` with no `#[feature("deprecated-sha256")]` attribute. Note: "Use `core::sha256::compute_sha256_byte_array`." - --> /Users/gaetanansotte/quaireaux/packages/math/src/tests/sha256_test.cairo:667:26 - let result = sha256::sha256(data); - ^****^ - -warning: Usage of deprecated feature `"deprecated-keccak"` with no `#[feature("deprecated-keccak")]` attribute. Note: "Use `core::keccak::compute_keccak_byte_array`." - --> /Users/gaetanansotte/quaireaux/packages/math/src/tests/test_keccak256.cairo:1:33 -use alexandria_math::keccak256::keccak256; - ^*******^ - - Finished release target(s) in 8 seconds -testing alexandria_math ... -running 178 tests -test alexandria_math::tests::aliquot_sum_test::zero_test ... ok (gas usage est.: 135350) -test alexandria_math::tests::bitmap_test::test_bitmap_nearest_significant_bit_right_priority_at_index ... ok (gas usage est.: 411564) -test alexandria_math::tests::bitmap_test::test_bitmap_least_significant_bit ... ok (gas usage est.: 99908) -test alexandria_math::tests::is_power_of_two_test::is_power_of_two_test_2 ... ok (gas usage est.: 24223) -test alexandria_math::tests::bip340_test::test_11 ... ok (gas usage est.: 31853370) -test alexandria_math::tests::fast_root_test::fast_sqrt_test_1 ... ok (gas usage est.: 482160) -test alexandria_math::tests::bitmap_test::test_bitmap_set_bit_at_1 ... ok (gas usage est.: 169372) -test alexandria_math::tests::const_pow_test::pow10_u256_out_of_range_test ... ok (gas usage est.: 1970) -test alexandria_math::tests::perfect_number_test::perfect_big_number_test ... ok (gas usage est.: 2381610) -test alexandria_math::tests::bitmap_test::test_bitmap_get_bit_at_10 ... ok (gas usage est.: 229746) -test alexandria_math::tests::aliquot_sum_test::one_test ... ok (gas usage est.: 135350) -test alexandria_math::tests::bip340_test::test_12 ... ok (gas usage est.: 532650) -test alexandria_math::tests::bitmap_test::test_bitmap_set_bit_at_10 ... ok (gas usage est.: 439672) -test alexandria_math::tests::bitmap_test::test_bitmap_set_bit_at_0 ... ok (gas usage est.: 169372) -test alexandria_math::tests::collatz_sequence_test::collatz_sequence_10_test ... ok (gas usage est.: 186150) -test alexandria_math::tests::perfect_number_test::not_perfect_small_number_test ... ok (gas usage est.: 453560) -test alexandria_math::tests::fast_root_test::fast_sqrt_test_2 ... ok (gas usage est.: 482160) -test alexandria_math::tests::is_power_of_two_test::is_power_of_two_test_3 ... ok (gas usage est.: 24823) -test alexandria_math::tests::bitmap_test::test_bitmap_nearest_left_significant_bit ... ok (gas usage est.: 226381) -test alexandria_math::tests::aliquot_sum_test::two_test ... ok (gas usage est.: 140110) -test alexandria_math::tests::ed25519_test::verify_signature_test_0 ... ok (gas usage est.: 383163046) -test alexandria_math::tests::perfect_number_test::not_perfect_big_number_test ... ok (gas usage est.: 2386970) -test alexandria_math::tests::fast_root_test::fast_curt_test_1 ... ok (gas usage est.: 603060) -test alexandria_math::tests::bip340_test::test_13 ... ok (gas usage est.: 532650) -test alexandria_math::tests::collatz_sequence_test::collatz_sequence_15_test ... ok (gas usage est.: 269200) -test alexandria_math::tests::is_power_of_two_test::is_power_of_two_test_4 ... ok (gas usage est.: 24223) -test alexandria_math::tests::bitmap_test::test_bitmap_nearest_right_significant_bit ... ok (gas usage est.: 202873) -test alexandria_math::tests::bitmap_test::test_bitmap_most_significant_bit ... ok (gas usage est.: 76000) -test alexandria_math::tests::aliquot_sum_test::one_digit_number_test ... ok (gas usage est.: 149630) -test alexandria_math::tests::ed25519_test::verify_signature_invalid ... ok (gas usage est.: 382523376) -test alexandria_math::tests::bitmap_test::test_bitmap_nearest_significant_bit_left_priority ... ok (gas usage est.: 411564) -test alexandria_math::tests::collatz_sequence_test::collatz_sequence_empty_test ... ok (gas usage est.: 133300) -test alexandria_math::tests::perfect_number_test::perfect_numbers_test ... ok (gas usage est.: 357060) -test alexandria_math::tests::bip340_test::test_14 ... ok (gas usage est.: 532650) -test alexandria_math::tests::is_power_of_two_test::is_power_of_two_test_5 ... ok (gas usage est.: 151130) -test alexandria_math::tests::aliquot_sum_test::two_digit_number_test ... ok (gas usage est.: 168670) -test alexandria_math::tests::fast_root_test::fast_nr_optimize_test_1 ... ok (gas usage est.: 1508330) -test alexandria_math::tests::ed25519_test::verify_signature_test_1 ... ok (gas usage est.: 376129756) -test alexandria_math::tests::ed25519_test::verify_signature_invalid_length ... ok (gas usage est.: 5197304) -test alexandria_math::tests::ed25519_test::verify_signature_test_2 ... ok (gas usage est.: 383802436) -test alexandria_math::tests::bip340_test::test_15 ... ok (gas usage est.: 31161230) -test alexandria_math::tests::aliquot_sum_test::three_digit_number_test ... ok (gas usage est.: 949310) -test alexandria_math::tests::sha256_test::sha256_empty_test ... ok (gas usage est.: 8247277) -test alexandria_math::tests::bitmap_test::test_bitmap_nearest_significant_bit_right_priority ... ok (gas usage est.: 411564) -test alexandria_math::tests::const_pow_test::pow2_test ... ok (gas usage est.: 213940) -test alexandria_math::tests::fast_root_test::fast_nr_optimize_test_2 ... ok (gas usage est.: 139170) -test alexandria_math::tests::ed25519_test::affine_point_op ... ok (gas usage est.: 403520) -test alexandria_math::tests::is_prime_test::is_prime_test_1 ... ok (gas usage est.: 55440) -test alexandria_math::tests::math_test::shl_should_not_overflow ... ok (gas usage est.: 838002) -test alexandria_math::tests::bip340_test::test_16 ... ok (gas usage est.: 31161230) -test alexandria_math::tests::aliquot_sum_test::two_digit_prime_number_test ... ok (gas usage est.: 173430) -test alexandria_math::tests::sha256_test::sha256_random_data_test ... ok (gas usage est.: 8187557) -test alexandria_math::tests::ed25519_test::verify_signature_test_3 ... ok (gas usage est.: 406694286) -test alexandria_math::tests::bitmap_test::test_bitmap_nearest_significant_bit_left_priority_at_index ... ok (gas usage est.: 411564) -test alexandria_math::tests::fibonacci_test::fibonacci_test ... ok (gas usage est.: 174750) -test alexandria_math::tests::extended_euclidean_algorithm_test::extended_euclidean_algorithm_test ... ok (gas usage est.: 1530200) -test alexandria_math::tests::is_prime_test::is_prime_test_2 ... ok (gas usage est.: 55640) -test alexandria_math::tests::const_pow_test::pow2_u256_test ... ok (gas usage est.: 290550) -test alexandria_math::tests::armstrong_number_test::one_digit_armstrong_number_test ... ok (gas usage est.: 59490) -test alexandria_math::tests::math_test::test_rotl_min ... ok (gas usage est.: 1257770) -test alexandria_math::tests::const_pow_test::pow10_test ... ok (gas usage est.: 212130) -test alexandria_math::tests::bip340_test::test_17 ... ok (gas usage est.: 31426790) -test alexandria_math::tests::sha256_test::sha256_lorem_ipsum_test ... ok (gas usage est.: 46375192) -test alexandria_math::tests::is_prime_test::is_prime_test_3 ... ok (gas usage est.: 55640) -test alexandria_math::tests::trigonometry_test::tan_negative_test_1 ... ok (gas usage est.: 66580) -test alexandria_math::tests::fast_power_test::fast_power_test ... ok (gas usage est.: 1896000) -test alexandria_math::tests::karatsuba_test::multiply_by_number_lt_ten ... ok (gas usage est.: 573210) -test alexandria_math::tests::gcd_of_n_numbers_test::gcd_test ... ok (gas usage est.: 210970) -test alexandria_math::tests::armstrong_number_test::two_digit_numbers_are_not_armstrong_numbers_test ... ok (gas usage est.: 68160) -test alexandria_math::tests::u512_arithmetics_test::test_u512_add ... ok (gas usage est.: 86770) -test alexandria_math::tests::gcd_of_n_numbers_test::gcd_test_inverse ... ok (gas usage est.: 208220) -test alexandria_math::tests::lcm_of_n_numbers_test::lcm_test ... ok (gas usage est.: 221580) -test alexandria_math::tests::is_prime_test::is_prime_test_4 ... ok (gas usage est.: 417380) -test alexandria_math::tests::const_pow_test::pow10_u256_test ... ok (gas usage est.: 286900) -test alexandria_math::tests::bip340_test::test_18 ... ok (gas usage est.: 33918950) -test alexandria_math::tests::fast_power_test::fast_power_mod_test ... ok (gas usage est.: 2961030) -test alexandria_math::tests::sha256_test::sha256_url ... ok (gas usage est.: 31053802) -test alexandria_math::tests::math_test::test_rotl_max ... ok (gas usage est.: 1412030) -test alexandria_math::tests::armstrong_number_test::three_digit_armstrong_number_test ... ok (gas usage est.: 140860) -test alexandria_math::tests::gcd_of_n_numbers_test::gcd_test_3 ... ok (gas usage est.: 197880) -test alexandria_math::tests::u512_arithmetics_test::test_u512_sub ... ok (gas usage est.: 159370) -test alexandria_math::tests::const_pow_test::pow2_out_of_range_test ... ok (gas usage est.: 1870) -test alexandria_math::tests::const_pow_test::pow2_u256_out_of_range_test ... ok (gas usage est.: 3810) -test alexandria_math::tests::math_test::test_rotr_min ... ok (gas usage est.: 2047730) -test alexandria_math::tests::lcm_of_n_numbers_test::lcm_test_tryinto ... ok (gas usage est.: 208630) -test alexandria_math::tests::armstrong_number_test::three_digit_non_armstrong_number_test ... ok (gas usage est.: 71580) -test alexandria_math::tests::karatsuba_test::multiply_same_size_positive_number ... ok (gas usage est.: 9998410) -test alexandria_math::tests::bip340_test::test_19 ... ok (gas usage est.: 31743050) -test alexandria_math::tests::sha512_test::test_sha512_lorem_ipsum ... ok (gas usage est.: 34262694) -test alexandria_math::tests::gcd_of_n_numbers_test::gcd_single_test ... ok (gas usage est.: 158610) -test alexandria_math::tests::const_pow_test::pow10_out_of_range_test ... ok (gas usage est.: 1870) -test alexandria_math::tests::karatsuba_test::multiply_distinct_size_positive_number ... ok (gas usage est.: 1705290) -test alexandria_math::tests::sha512_test::test_sha512_size_one ... ok (gas usage est.: 12078758) -test alexandria_math::tests::lcm_of_n_numbers_test::lcm_test_4 ... ok (gas usage est.: 200930) -test alexandria_math::tests::lcm_of_n_numbers_test::lcm_test_inverse ... ok (gas usage est.: 213330) -test alexandria_math::tests::math_test::test_rotr_max ... ok (gas usage est.: 884070) -test alexandria_math::tests::bip340_test::test_0 ... ok (gas usage est.: 31743050) -test alexandria_math::tests::bitmap_test::test_bitmap_get_bit_at_0 ... ok (gas usage est.: 94596) -test alexandria_math::tests::wad_ray_math_test::test_wad_to_ray_conversion ... ok (gas usage est.: 641340) -test alexandria_math::tests::gcd_of_n_numbers_test::gcd_empty_input_test ... ok (gas usage est.: 26410) -test alexandria_math::tests::bitmap_test::test_bitmap_get_bit_at_1 ... ok (gas usage est.: 94096) -test alexandria_math::tests::lcm_of_n_numbers_test::lcm_test_3 ... ok (gas usage est.: 200930) -test alexandria_math::tests::sha512_test::test_size_zero ... ok (gas usage est.: 12081268) -test alexandria_math::tests::bip340_test::test_5 ... ok (gas usage est.: 560680) -test alexandria_math::tests::i257_test::i257_test_add ... ok (gas usage est.: 195640) -test alexandria_math::tests::bip340_test::test_1 ... ok (gas usage est.: 31743050) -test alexandria_math::tests::lcm_of_n_numbers_test::lcm_single_test ... ok (gas usage est.: 144480) -test alexandria_math::tests::math_test::test_wrapping_math_non_wrapping ... ok (gas usage est.: 268858) -test alexandria_math::tests::wad_ray_math_test::test_ray_to_wad_conversion ... ok (gas usage est.: 635930) -test alexandria_math::tests::karatsuba_test::multiply_by_zero ... ok (gas usage est.: 19963570) -test alexandria_math::tests::wad_ray_math_test::test_wad_mul_rounding ... ok (gas usage est.: 182810) -test alexandria_math::tests::lcm_of_n_numbers_test::lcm_empty_input_test ... ok (gas usage est.: 27440) -test alexandria_math::tests::test_keccak256::test_keccak256_empty_bytes ... ok (gas usage est.: 395574) -test alexandria_math::tests::math_test::test_wrapping_math_wrapping ... ok (gas usage est.: 281334) -test alexandria_math::tests::bip340_test::test_8 ... ok (gas usage est.: 31853370) -test alexandria_math::tests::bip340_test::test_3 ... ok (gas usage est.: 31743050) -test alexandria_math::tests::bip340_test::test_2 ... ok (gas usage est.: 31743050) -test alexandria_math::tests::i257_test::i257_test_sub ... ok (gas usage est.: 280140) -test alexandria_math::tests::bip340_test::test_6 ... ok (gas usage est.: 31853370) -test alexandria_math::tests::wad_ray_math_test::test_revertWhen_wad_mul_overflow ... ok (gas usage est.: 767010) -test alexandria_math::tests::wad_ray_math_test::test_wad_mul_rounding_up ... ok (gas usage est.: 418060) -test alexandria_math::tests::bip340_test::test_10 ... ok (gas usage est.: 31853370) -test alexandria_math::tests::bip340_test::test_7 ... ok (gas usage est.: 31853370) -test alexandria_math::tests::wad_ray_math_test::test_wad_mul_trivial ... ok (gas usage est.: 1007140) -test alexandria_math::tests::i257_test::i257_test_mul ... ok (gas usage est.: 217970) -test alexandria_math::tests::test_keccak256::test_keccak256_partial_bytes ... ok (gas usage est.: 414834) -test alexandria_math::tests::bip340_test::test_4 ... ok (gas usage est.: 31743050) -test alexandria_math::tests::mod_arithmetics_test::add_mod_p_test ... ok (gas usage est.: 183590) -test alexandria_math::tests::bip340_test::test_9 ... ok (gas usage est.: 31853370) -test alexandria_math::tests::math_test::test_pow_power_2_all ... ok (gas usage est.: 9770510) -test alexandria_math::tests::wad_ray_math_test::test_revertWhen_ray_mul_overflow ... ok (gas usage est.: 767010) -test alexandria_math::tests::mod_arithmetics_test::sqr_mod_test ... ok (gas usage est.: 455980) -test alexandria_math::tests::mod_arithmetics_test::sub_mod_1_test ... ok (gas usage est.: 300300) -test alexandria_math::tests::wad_ray_math_test::test_ray_div_trivial ... ok (gas usage est.: 1346970) -test alexandria_math::tests::i257_test::i257_test_is_zero ... ok (gas usage est.: 23940) -test alexandria_math::tests::mod_arithmetics_test::add_mod_2_test ... ok (gas usage est.: 145570) -test alexandria_math::tests::math_test::pow_test ... ok (gas usage est.: 526000) -test alexandria_math::tests::wad_ray_math_test::test_wad_mul_fractions ... ok (gas usage est.: 459700) -test alexandria_math::tests::mod_arithmetics_test::add_mod_1_test ... ok (gas usage est.: 153830) -test alexandria_math::tests::test_keccak256::test_keccak256_full_u256 ... ok (gas usage est.: 533344) -test alexandria_math::tests::wad_ray_math_test::test_ray_mul_trivial ... ok (gas usage est.: 1007140) -test alexandria_math::tests::mod_arithmetics_test::sub_mod_test ... ok (gas usage est.: 303730) -test alexandria_math::tests::mod_arithmetics_test::div_mod_test ... ok (gas usage est.: 372330) -test alexandria_math::tests::wad_ray_math_test::test_ray_mul_fractions ... ok (gas usage est.: 459700) -test alexandria_math::tests::wad_ray_math_test::test_ray_div_fractions ... ok (gas usage est.: 238780) -test alexandria_math::tests::trigonometry_test::sin_positive_test_2 ... ok (gas usage est.: 45710) -test alexandria_math::tests::i257_test::i257_test_div_no_rem ... ok (gas usage est.: 392590) -test alexandria_math::tests::math_test::count_digits_of_base_test ... ok (gas usage est.: 305520) -test alexandria_math::tests::mod_arithmetics_test::sub_mod_2_test ... ok (gas usage est.: 300300) -test alexandria_math::tests::wad_ray_math_test::test_revertWhen_wad_div_zero ... ok (gas usage est.: 31420) -test alexandria_math::tests::trigonometry_test::sin_positive_test_1 ... ok (gas usage est.: 45710) -test alexandria_math::tests::wad_ray_math_test::test_ray_mul_rounding ... ok (gas usage est.: 912880) -test alexandria_math::tests::wad_ray_math_test::test_wad_div_trivial ... ok (gas usage est.: 1346970) -test alexandria_math::tests::trigonometry_test::sin_negative_test_1 ... ok (gas usage est.: 45710) -test alexandria_math::tests::i257_test::i257_test_partial_ord ... ok (gas usage est.: 155380) -test alexandria_math::tests::i257_test::i257_test_div_rem ... ok (gas usage est.: 702000) -test alexandria_math::tests::mod_arithmetics_test::mult_mod_test ... ok (gas usage est.: 486570) -test alexandria_math::tests::trigonometry_test::sin_negative_test_2 ... ok (gas usage est.: 45710) -test alexandria_math::tests::wad_ray_math_test::test_revertWhen_ray_div_zero ... ok (gas usage est.: 31420) -test alexandria_math::tests::mod_arithmetics_test::pow_mod_test ... ok (gas usage est.: 26448520) -test alexandria_math::tests::wad_ray_math_test::test_ray_mul_rounding_up ... ok (gas usage est.: 418060) -test alexandria_math::tests::mod_arithmetics_test::pow_mod_1_test ... ok (gas usage est.: 26348440) -test alexandria_math::tests::trigonometry_test::cos_positive_test_1 ... ok (gas usage est.: 45580) -test alexandria_math::tests::i257_test::i257_test_div_sign_zero ... ok (gas usage est.: 165560) -test alexandria_math::tests::zellers_congruence_test::zellers_congruence_test ... ok (gas usage est.: 630100) -test alexandria_math::tests::trigonometry_test::sin_positive_test_3 ... ok (gas usage est.: 45710) -test alexandria_math::tests::mod_arithmetics_test::pow_mod_2_test ... ok (gas usage est.: 26348440) -test alexandria_math::tests::i257_test::i257_test_eq_not_eq ... ok (gas usage est.: 47860) -test alexandria_math::tests::i257_test::i257_test_equality ... ok (gas usage est.: 60340) -test alexandria_math::tests::mod_arithmetics_test::mult_mod_1_test ... ok (gas usage est.: 468700) -test alexandria_math::tests::wad_ray_math_test::test_wad_div_fractions ... ok (gas usage est.: 238780) -test alexandria_math::tests::mod_arithmetics_test::mult_mod_2_test ... ok (gas usage est.: 468700) -test alexandria_math::tests::trigonometry_test::cos_negative_test_1 ... ok (gas usage est.: 45580) -test alexandria_math::tests::i257_test::i257_test_into ... ok (gas usage est.: 137370) -test alexandria_math::tests::trigonometry_test::tan_positive_test_1 ... ok (gas usage est.: 66580) -test alexandria_math::tests::is_power_of_two_test::is_power_of_two_test_1 ... ok (gas usage est.: 24223) -test alexandria_math::tests::perfect_number_test::perfect_small_number_test ... ok (gas usage est.: 180840) -test alexandria_math::tests::zellers_congruence_test::zellers_congruence_invalid_parameters_test ... ok (gas usage est.: 787650) -test result: ok. 178 passed; 0 failed; 0 ignored; 0 filtered out; - - Running cairo-test alexandria_merkle_tree -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.05s - Compiling test(alexandria_merkle_tree_unittest) alexandria_merkle_tree v0.1.0 (/Users/gaetanansotte/quaireaux/packages/merkle_tree/Scarb.toml) - Finished release target(s) in 3 seconds -testing alexandria_merkle_tree ... -running 7 tests -test alexandria_merkle_tree::tests::merkle_tree_test::regular_call_merkle_tree_pedersen::regular_call_merkle_tree_pedersen_test ... ok (gas usage est.: 423210) -test alexandria_merkle_tree::tests::merkle_tree_test::merkle_tree_pedersen_test ... ok (gas usage est.: 423210) -test alexandria_merkle_tree::tests::storage_proof_test::wrong_contract_address_proof_test ... ok (gas usage est.: 607272) -test alexandria_merkle_tree::tests::merkle_tree_test::merkle_tree_poseidon_test ... ok (gas usage est.: 374325) -test alexandria_merkle_tree::tests::storage_proof_test::balance_msb_proof_test ... ok (gas usage est.: 547488) -test alexandria_merkle_tree::tests::storage_proof_test::balance_lsb_proof_test ... ok (gas usage est.: 891246) -test alexandria_merkle_tree::tests::storage_proof_test::total_balance_lsb_proof_test ... ok (gas usage est.: 875500) -test result: ok. 7 passed; 0 failed; 0 ignored; 0 filtered out; - - Running cairo-test alexandria_numeric -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.03s - Compiling test(alexandria_numeric_unittest) alexandria_numeric v0.1.0 (/Users/gaetanansotte/quaireaux/packages/numeric/Scarb.toml) -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - - Finished release target(s) in 4 seconds -testing alexandria_numeric ... -running 31 tests -test alexandria_numeric::tests::diff_test::diff_test ... ok (gas usage est.: 175420) -test alexandria_numeric::tests::diff_test::diff_test_revert_empty ... ok (gas usage est.: 6140) -test alexandria_numeric::tests::interpolate_test::interp_constant_left_test ... ok (gas usage est.: 348780) -test alexandria_numeric::tests::cumprod_test::cumprod_test ... ok (gas usage est.: 156210) -test alexandria_numeric::tests::interpolate_fast_test::interp_revert_len_too_short ... ok (gas usage est.: 40190) -test alexandria_numeric::tests::diff_test::diff_test_revert_not_sorted ... ok (gas usage est.: 9950) -test alexandria_numeric::tests::cumsum_test::cumsum_test_revert_empty ... ok (gas usage est.: 6140) -test alexandria_numeric::tests::cumprod_test::cumprod_test_revert_empty ... ok (gas usage est.: 6140) -test alexandria_numeric::tests::integers_test::test_u32_from_bytes ... ok (gas usage est.: 151460) -test alexandria_numeric::tests::interpolate_fast_test::interp_constant_left_test ... ok (gas usage est.: 357980) -test alexandria_numeric::tests::integers_test::test_u32_to_bytes_leading_zeros ... ok (gas usage est.: 143452) -test alexandria_numeric::tests::interpolate_test::interp_linear_test ... ok (gas usage est.: 300210) -test alexandria_numeric::tests::interpolate_test::interp_nearest_test ... ok (gas usage est.: 348780) -test alexandria_numeric::tests::interpolate_test::interp_constant_right_test ... ok (gas usage est.: 395940) -test alexandria_numeric::tests::interpolate_test::interp_extrapolation_test ... ok (gas usage est.: 303030) -test alexandria_numeric::tests::cumsum_test::cumsum_test ... ok (gas usage est.: 156410) -test alexandria_numeric::tests::integers_test::test_u32_from_bytes_too_big ... ok (gas usage est.: 26980) -test alexandria_numeric::tests::trapezoidal_rule_test::trapezoidal_rule_test ... ok (gas usage est.: 193880) -test alexandria_numeric::tests::interpolate_fast_test::interp_constant_left_diff ... ok (gas usage est.: 748620) -test alexandria_numeric::tests::interpolate_fast_test::interp_constant_right_test ... ok (gas usage est.: 383100) -test alexandria_numeric::tests::interpolate_fast_test::interp_extrapolation_test ... ok (gas usage est.: 342630) -test alexandria_numeric::tests::trapezoidal_rule_test::trapezoidal_rule_test_revert_len_too_short ... ok (gas usage est.: 9350) -test alexandria_numeric::tests::trapezoidal_rule_test::trapezoidal_rule_test_revert_not_sorted ... ok (gas usage est.: 15870) -test alexandria_numeric::tests::interpolate_test::interp_revert_len_mismatch ... ok (gas usage est.: 28220) -test alexandria_numeric::tests::integers_test::test_u32_to_bytes_full ... ok (gas usage est.: 146072) -test alexandria_numeric::tests::interpolate_fast_test::interp_linear_test ... ok (gas usage est.: 323090) -test alexandria_numeric::tests::trapezoidal_rule_test::trapezoidal_rule_test_revert_len_mismatch ... ok (gas usage est.: 9150) -test alexandria_numeric::tests::interpolate_fast_test::interp_revert_len_mismatch ... ok (gas usage est.: 38120) -test alexandria_numeric::tests::interpolate_test::interp_revert_len_too_short ... ok (gas usage est.: 30290) -test alexandria_numeric::tests::interpolate_fast_test::interp_nearest_test ... ok (gas usage est.: 357980) -test alexandria_numeric::tests::integers_test::test_u32_to_bytes_partial ... ok (gas usage est.: 144762) -test result: ok. 31 passed; 0 failed; 0 ignored; 0 filtered out; - - Running cairo-test alexandria_searching -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.02s - Compiling test(alexandria_searching_unittest) alexandria_searching v0.1.0 (/Users/gaetanansotte/quaireaux/packages/searching/Scarb.toml) -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - - Finished release target(s) in 4 seconds -testing alexandria_searching ... -running 28 tests -test alexandria_searching::tests::binary_search_closest_test::value_found_length_one ... ok (gas usage est.: 145270) -test alexandria_searching::tests::binary_search_closest_test::closest_value_found ... ok (gas usage est.: 650350) -test alexandria_searching::tests::binary_search_closest_test::zero_length_span ... ok (gas usage est.: 37080) -test alexandria_searching::tests::binary_search_closest_test::length_three_span ... ok (gas usage est.: 309430) -test alexandria_searching::tests::bm_search_test::bm_search_test_1 ... ok (gas usage est.: 1665510) -test alexandria_searching::tests::binary_search_closest_test::length_two_span ... ok (gas usage est.: 203510) -test alexandria_searching::tests::binary_search_closest_test::value_not_found ... ok (gas usage est.: 306990) -test alexandria_searching::tests::binary_search_closest_test::value_not_found_length_one ... ok (gas usage est.: 37280) -test alexandria_searching::tests::levenshtein_distance_test::bm_search_test_1 ... ok (gas usage est.: 828620) -test alexandria_searching::tests::binary_search_closest_test::value_found ... ok (gas usage est.: 580230) -test alexandria_searching::tests::levenshtein_distance_test::bm_search_test_4 ... ok (gas usage est.: 214490) -test alexandria_searching::tests::bm_search_test::bm_search_test_2 ... ok (gas usage est.: 1083200) -test alexandria_searching::tests::binary_search_closest_test::all_values ... ok (gas usage est.: 1281730) -test alexandria_searching::tests::bm_search_test::bm_search_test_3 ... ok (gas usage est.: 1538990) -test alexandria_searching::tests::dijkstra_test::add_edge ... ok (gas usage est.: 251430) -test alexandria_searching::tests::binary_search_test::value_not_found ... ok (gas usage est.: 269410) -test alexandria_searching::tests::dijkstra_test::calculate_shortest_path_random ... ok (gas usage est.: 734660) -test alexandria_searching::tests::levenshtein_distance_test::bm_search_test_3 ... ok (gas usage est.: 154760) -test alexandria_searching::tests::levenshtein_distance_test::bm_search_test_2 ... ok (gas usage est.: 151150) -test alexandria_searching::tests::levenshtein_distance_test::bm_search_test_6 ... ok (gas usage est.: 1771270) -test alexandria_searching::tests::levenshtein_distance_test::bm_search_test_5 ... ok (gas usage est.: 362500) -test alexandria_searching::tests::binary_search_test::value_found ... ok (gas usage est.: 484630) -test alexandria_searching::tests::levenshtein_distance_test::bm_search_test_7 ... ok (gas usage est.: 1771270) -test alexandria_searching::tests::binary_search_test::zero_length_span ... ok (gas usage est.: 34230) -test alexandria_searching::tests::binary_search_test::value_found_length_one ... ok (gas usage est.: 178160) -test alexandria_searching::tests::dijkstra_test::calculate_shortest_path_node_visited ... ok (gas usage est.: 696140) -test alexandria_searching::tests::binary_search_test::value_not_found_length_one ... ok (gas usage est.: 34430) -test alexandria_searching::tests::dijkstra_test::calculate_shortest_path ... ok (gas usage est.: 755640) -test result: ok. 28 passed; 0 failed; 0 ignored; 0 filtered out; - - Running cairo-test alexandria_sorting -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.03s - Compiling test(alexandria_sorting_unittest) alexandria_sorting v0.1.0 (/Users/gaetanansotte/quaireaux/packages/sorting/Scarb.toml) -warn: Unused import: `alexandria_sorting::interface::VecTrait` - --> /Users/gaetanansotte/quaireaux/packages/sorting/src/interface.cairo:1:51 -use alexandria_data_structures::vec::{Felt252Vec, VecTrait}; - ^******^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warn: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - -warning: Unused import: `alexandria_sorting::interface::VecTrait` - --> /Users/gaetanansotte/quaireaux/packages/sorting/src/interface.cairo:1:51 -use alexandria_data_structures::vec::{Felt252Vec, VecTrait}; - ^******^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiDecodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:6:14 -use decode::{SolAbiDecodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeSelectorTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:14 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***********************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:7:41 -use encode::{SolAbiEncodeSelectorTrait, SolAbiEncodeTrait}; - ^***************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolAbiEncodeAsTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:8:17 -use encode_as::{SolAbiEncodeAsTrait}; - ^*****************^ - -warning: Unused import: `alexandria_encoding::sol_abi::SolBytesTrait` - --> /Users/gaetanansotte/quaireaux/packages/encoding/src/sol_abi.cairo:9:17 -use sol_bytes::{SolBytesTrait}; - ^***********^ - - Finished release target(s) in 4 seconds -testing alexandria_sorting ... -running 21 tests -test alexandria_sorting::tests::bubble_sort_test::bubble_sort_test_empty ... ok (gas usage est.: 206060) -test alexandria_sorting::tests::quick_sort_test::quicksort_test_one_element ... ok (gas usage est.: 92720) -test alexandria_sorting::tests::merge_sort_test::merge_sort_test_one_element ... ok (gas usage est.: 217340) -test alexandria_sorting::tests::bubble_sort_test::bubble_sort_test_one_element ... ok (gas usage est.: 209830) -test alexandria_sorting::tests::quick_sort_test::quicksort_test_empty ... ok (gas usage est.: 69920) -test alexandria_sorting::tests::bubble_sort_test::bubble_sort_test_pre_sorted_2_same_values ... ok (gas usage est.: 250460) -test alexandria_sorting::tests::merge_sort_test::merge_sort_test_2_same_values ... ok (gas usage est.: 426420) -test alexandria_sorting::tests::bubble_sort_test::bubble_sort_test ... ok (gas usage est.: 492560) -test alexandria_sorting::tests::quick_sort_test::quicksort_test_pre_sorted ... ok (gas usage est.: 702090) -test alexandria_sorting::tests::quick_sort_test::quicksort_test_pre_sorted_decreasing ... ok (gas usage est.: 734900) -test alexandria_sorting::tests::merge_sort_test::merge_sort_test_2_same_values_pre_sorted ... ok (gas usage est.: 426420) -test alexandria_sorting::tests::merge_sort_test::merge_sort_test ... ok (gas usage est.: 670450) -test alexandria_sorting::tests::merge_sort_test::merge_sort_test_pre_sorted ... ok (gas usage est.: 367160) -test alexandria_sorting::tests::bubble_sort_test::bubble_sort_test_2_same_values ... ok (gas usage est.: 279780) -test alexandria_sorting::tests::merge_sort_test::merge_sort_test_2_pre_sorted_decreasing ... ok (gas usage est.: 367160) -test alexandria_sorting::tests::bubble_sort_test::bubble_sort_test_pre_sorted_decreasing ... ok (gas usage est.: 338420) -test alexandria_sorting::tests::quick_sort_test::quicksort_test ... ok (gas usage est.: 846340) -test alexandria_sorting::tests::quick_sort_test::quicksort_test_pre_sorted_2_same_values ... ok (gas usage est.: 702090) -test alexandria_sorting::tests::bubble_sort_test::bubble_sort_test_pre_sorted ... ok (gas usage est.: 250460) -test alexandria_sorting::tests::quick_sort_test::quicksort_test_2_same_values ... ok (gas usage est.: 694090) -test alexandria_sorting::tests::merge_sort_test::merge_sort_test_empty ... ok (gas usage est.: 213570) -test result: ok. 21 passed; 0 failed; 0 ignored; 0 filtered out; - - Running cairo-test alexandria_storage -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.02s - Compiling test(alexandria_storage_unittest) alexandria_storage v0.3.0 (/Users/gaetanansotte/quaireaux/packages/storage/Scarb.toml) -warn: Usage of deprecated feature `"deprecated-list-trait"` with no `#[feature("deprecated-list-trait")]` attribute. Note: "Use `starknet::storage::Vec`." - --> /Users/gaetanansotte/quaireaux/packages/storage/src/lib.cairo:6:22 -pub use list::{List, ListTrait}; - ^*******^ - -warn: Usage of deprecated feature `"deprecated-list-trait"` with no `#[feature("deprecated-list-trait")]` attribute. Note: "Use `starknet::storage::Vec`." - --> /Users/gaetanansotte/quaireaux/packages/storage/src/list.cairo:157:52 -impl ListImpl, +Drop, +Store> of ListTrait { - ^*******^ - -warning: Usage of deprecated feature `"deprecated-list-trait"` with no `#[feature("deprecated-list-trait")]` attribute. Note: "Use `starknet::storage::Vec`." - --> /Users/gaetanansotte/quaireaux/packages/storage/src/lib.cairo:6:22 -pub use list::{List, ListTrait}; - ^*******^ - -warning: Usage of deprecated feature `"deprecated-list-trait"` with no `#[feature("deprecated-list-trait")]` attribute. Note: "Use `starknet::storage::Vec`." - --> /Users/gaetanansotte/quaireaux/packages/storage/src/list.cairo:157:52 -impl ListImpl, +Drop, +Store> of ListTrait { - ^*******^ - - Finished release target(s) in 3 seconds -testing alexandria_storage ... -running 25 tests -test alexandria_storage::tests::list_test::test_fetch_existing_list ... ok (gas usage est.: 631878) -test alexandria_storage::tests::list_test::test_new_then_fill_list ... ok (gas usage est.: 594026) -test alexandria_storage::tests::list_test::test_new_initializes_empty_list ... ok (gas usage est.: 398520) -test alexandria_storage::tests::list_test::test_fetch_empty_list ... ok (gas usage est.: 163130) -test alexandria_storage::tests::list_test::test_get_empty ... ok (gas usage est.: 294520) -test alexandria_storage::tests::list_test::test_deploy ... ok (gas usage est.: 459540) -test alexandria_storage::tests::list_test::test_get_index_out_of_bounds ... ok (gas usage est.: 502074) -test alexandria_storage::tests::list_test::test_array_empty ... ok (gas usage est.: 597510) -test alexandria_storage::tests::list_test::test_append_few ... ok (gas usage est.: 957508) -test alexandria_storage::tests::list_test::test_is_empty ... ok (gas usage est.: 848154) -test alexandria_storage::tests::list_test::test_get_out_of_bounds ... ok (gas usage est.: 533254) -test alexandria_storage::tests::list_test::test_array_clean_with_empty_array ... ok (gas usage est.: 698340) -test alexandria_storage::tests::list_test::test_set_out_of_bounds ... ok (gas usage est.: 261350) -test alexandria_storage::tests::list_test::test_pop_front_empty ... ok (gas usage est.: 322560) -test alexandria_storage::tests::list_test::test_array_clean ... ok (gas usage est.: 1307662) -test alexandria_storage::tests::list_test::test_append_array_empty ... ok (gas usage est.: 712140) -test alexandria_storage::tests::list_test::test_array_pass ... ok (gas usage est.: 2428416) -test alexandria_storage::tests::list_test::test_get_index_pass ... ok (gas usage est.: 1734634) -test alexandria_storage::tests::list_test::test_array_get_value_after_clean ... ok (gas usage est.: 1200698) -test alexandria_storage::tests::list_test::test_get_pass ... ok (gas usage est.: 1596764) -test alexandria_storage::tests::list_test::test_set_pass ... ok (gas usage est.: 2228542) -test alexandria_storage::tests::list_test::test_pop_front_pass ... ok (gas usage est.: 2255524) -test alexandria_storage::tests::list_test::test_pop_append ... ok (gas usage est.: 1591836) -test alexandria_storage::tests::list_test::test_append_span_existing_list ... ok (gas usage est.: 2433212) -test alexandria_storage::tests::list_test::test_append_get_many ... ok (gas usage est.: 440234204) -test result: ok. 25 passed; 0 failed; 0 ignored; 0 filtered out; - - Running cairo-test alexandria_utils -warn: `cairo_test` plugin not found -please add the following snippet to your Scarb.toml manifest: -``` -[dev-dependencies] -cairo_test = "2.8.2" -``` - - Compiling alexandria_macros v0.1.0 (/Users/gaetanansotte/quaireaux/packages/macros/Scarb.toml) - Finished `release` profile [optimized] target(s) in 0.02s - Compiling test(alexandria_utils_unittest) alexandria_utils v0.1.0 (/Users/gaetanansotte/quaireaux/packages/utils/Scarb.toml) - Finished release target(s) in 2 seconds -testing alexandria_utils ... -running 0 tests -test result: ok. 0 passed; 0 failed; 0 ignored; 0 filtered out; -