| 1 | #cxx . . $ `<file>/tests/core/core_tests.cpp`/include <catch2/catch_test_macros.hpp> |
| 2 | |
| 3 | #include "core/core.hpp"cxx . . $ `<file>/src/LibBGCode/core/core.hpp`/ |
| 4 | |
| 5 | #include <boost/nowide/cstdio.hpp> |
| 6 | |
| 7 | #include <iostream> |
| 8 | |
| 9 | using namespace bgcodecxx . . $ bgcode/::core; |
| 10 | |
| 11 | class ScopedFilecxx . . $ ScopedFile# |
| 12 | { |
| 13 | public: |
| 14 | explicit ScopedFilecxx . . $ ScopedFile#ScopedFile(8d4262d45fc644ab).(FILEcxx . . $ FILE#* file) : m_filecxx . . $ ScopedFile#m_file.(file) {} |
| 15 | ~cxx . . $ ScopedFile#`~ScopedFile`(ced63f7c635d850d).ScopedFilecxx . . $ ScopedFile#() { if (m_filecxx . . $ ScopedFile#m_file. != nullptr) fclose(m_filecxx . . $ ScopedFile#m_file.); } |
| 16 | private: |
| 17 | FILEcxx . . $ FILE#* m_filecxx . . $ ScopedFile#m_file.{ nullptr }; |
| 18 | }; |
| 19 | |
| 20 | static stdcxx . . $ std/::stringcxx . . $ std/string# checksum_type_as_stringcxx . . $ checksum_type_as_string(4559082861fcbc5e).(EChecksumTypecxx . . $ bgcode/core/EChecksumType# type) |
| 21 | { |
| 22 | switch (type) |
| 23 | { |
| 24 | case EChecksumTypecxx . . $ bgcode/core/EChecksumType#::Nonecxx . . $ bgcode/core/EChecksumType#None.: { return "None"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 25 | case EChecksumTypecxx . . $ bgcode/core/EChecksumType#::CRC32cxx . . $ bgcode/core/EChecksumType#CRC32.: { return "CRC32"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 26 | } |
| 27 | return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; |
| 28 | }; |
| 29 | |
| 30 | static stdcxx . . $ std/::stringcxx . . $ std/string# block_type_as_stringcxx . . $ block_type_as_string(1de395a9cb061902).(EBlockTypecxx . . $ bgcode/core/EBlockType# type) |
| 31 | { |
| 32 | switch (type) |
| 33 | { |
| 34 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::FileMetadatacxx . . $ bgcode/core/EBlockType#FileMetadata.: { return "FileMetadata"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 35 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::GCodecxx . . $ bgcode/core/EBlockType#GCode.: { return "GCode"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 36 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::SlicerMetadatacxx . . $ bgcode/core/EBlockType#SlicerMetadata.: { return "SlicerMetadata"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 37 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::PrinterMetadatacxx . . $ bgcode/core/EBlockType#PrinterMetadata.: { return "PrinterMetadata"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 38 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::PrintMetadatacxx . . $ bgcode/core/EBlockType#PrintMetadata.: { return "PrintMetadata"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 39 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::Thumbnailcxx . . $ bgcode/core/EBlockType#Thumbnail.: { return "Thumbnail"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 40 | } |
| 41 | return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; |
| 42 | }; |
| 43 | |
| 44 | static stdcxx . . $ std/::stringcxx . . $ std/string# compression_type_as_stringcxx . . $ compression_type_as_string(8ee974a414085bd0).(ECompressionTypecxx . . $ bgcode/core/ECompressionType# type) |
| 45 | { |
| 46 | switch (type) |
| 47 | { |
| 48 | case ECompressionTypecxx . . $ bgcode/core/ECompressionType#::Nonecxx . . $ bgcode/core/ECompressionType#None.: { return "None"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 49 | case ECompressionTypecxx . . $ bgcode/core/ECompressionType#::Deflatecxx . . $ bgcode/core/ECompressionType#Deflate.: { return "Deflate"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 50 | case ECompressionTypecxx . . $ bgcode/core/ECompressionType#::Heatshrink_11_4cxx . . $ bgcode/core/ECompressionType#Heatshrink_11_4.: { return "Heatshrink 11,4"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 51 | case ECompressionTypecxx . . $ bgcode/core/ECompressionType#::Heatshrink_12_4cxx . . $ bgcode/core/ECompressionType#Heatshrink_12_4.: { return "Heatshrink 12,4"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 52 | } |
| 53 | return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; |
| 54 | }; |
| 55 | |
| 56 | static stdcxx . . $ std/::stringcxx . . $ std/string# metadata_encoding_as_stringcxx . . $ metadata_encoding_as_string(c3292df418fde711).(EMetadataEncodingTypecxx . . $ bgcode/core/EMetadataEncodingType# type) |
| 57 | { |
| 58 | switch (type) |
| 59 | { |
| 60 | case EMetadataEncodingTypecxx . . $ bgcode/core/EMetadataEncodingType#::INIcxx . . $ bgcode/core/EMetadataEncodingType#INI.: { return "INI"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 61 | case EMetadataEncodingTypecxx . . $ bgcode/core/EMetadataEncodingType#::JSONcxx . . $ bgcode/core/EMetadataEncodingType#JSON.: { return "JSON"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 62 | } |
| 63 | return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; |
| 64 | }; |
| 65 | |
| 66 | static stdcxx . . $ std/::stringcxx . . $ std/string# gcode_encoding_as_stringcxx . . $ gcode_encoding_as_string(642393b7049a34fc).(EGCodeEncodingTypecxx . . $ bgcode/core/EGCodeEncodingType# type) |
| 67 | { |
| 68 | switch (type) |
| 69 | { |
| 70 | case EGCodeEncodingTypecxx . . $ bgcode/core/EGCodeEncodingType#::Nonecxx . . $ bgcode/core/EGCodeEncodingType#None.: { return "None"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 71 | case EGCodeEncodingTypecxx . . $ bgcode/core/EGCodeEncodingType#::MeatPackcxx . . $ bgcode/core/EGCodeEncodingType#MeatPack.: { return "MeatPack"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 72 | case EGCodeEncodingTypecxx . . $ bgcode/core/EGCodeEncodingType#::MeatPackCommentscxx . . $ bgcode/core/EGCodeEncodingType#MeatPackComments.: { return "MeatPackComments"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 73 | } |
| 74 | return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; |
| 75 | }; |
| 76 | |
| 77 | static stdcxx . . $ std/::stringcxx . . $ std/string# thumbnail_format_as_stringcxx . . $ thumbnail_format_as_string(32ff43823eeef96e).(EThumbnailFormatcxx . . $ bgcode/core/EThumbnailFormat# type) |
| 78 | { |
| 79 | switch (type) |
| 80 | { |
| 81 | case EThumbnailFormatcxx . . $ bgcode/core/EThumbnailFormat#::JPGcxx . . $ bgcode/core/EThumbnailFormat#JPG.: { return "JPG"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 82 | case EThumbnailFormatcxx . . $ bgcode/core/EThumbnailFormat#::PNGcxx . . $ bgcode/core/EThumbnailFormat#PNG.: { return "PNG"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 83 | case EThumbnailFormatcxx . . $ bgcode/core/EThumbnailFormat#::QOIcxx . . $ bgcode/core/EThumbnailFormat#QOI.: { return "QOI"cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; } |
| 84 | } |
| 85 | return ""cxx . . $ std/__cxx11/basic_string#basic_string(e36662616dba894d).; |
| 86 | }; |
| 87 | |
| 88 | TEST_CASEcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:144:11`!("File transversal", "[Core]") |
| 89 | { |
| 90 | const stdcxx . . $ std/::stringcxx . . $ std/string# filename = stdcxx . . $ std/::stringcxx . . $ std/string#(TEST_DATA_DIRcxx . . $ `<built-in>:484:9`!) +cxx . . $ std/operator+(900ec9581c410ad9). "/mini_cube_b.bgcode"; |
| 91 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "\nTEST: File transversal\n"; |
| 92 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "File:" <<cxx . . $ std/`operator<<`(88df5bef833f7f83). filename <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "\n"; |
| 93 | |
| 94 | const size_tcxx . . $ size_t# MAX_CHECKSUM_CACHE_SIZE = 2048; |
| 95 | stdcxx . . $ std/::byte checksum_verify_buffer[MAX_CHECKSUM_CACHE_SIZE]; |
| 96 | |
| 97 | FILEcxx . . $ FILE#* file = boostcxx . . $ boost/::nowidecxx . . $ boost/nowide/::fopencxx . . $ boost/nowide/fopen(82ec0787cd37e0a3).(filename.c_strcxx . . $ std/__cxx11/basic_string#c_str(8e614c7de0b1573e).(), "rb"); |
| 98 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!(file != nullptr); |
| 99 | ScopedFilecxx . . $ ScopedFile# scoped_filecxx . . $ ScopedFile#ScopedFile(8d4262d45fc644ab).(file); |
| 100 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!(is_valid_binary_gcode(*file, true, checksum_verify_buffer, sizeof(checksum_verify_buffer)) == EResult::Success); |
| 101 | |
| 102 | fseek(file, 0, SEEK_ENDcxx . . $ `<external>/232824719582829767/stdio.h:116:9`!); |
| 103 | const long file_size = ftell(file); |
| 104 | rewind(file); |
| 105 | |
| 106 | FileHeadercxx . . $ bgcode/core/FileHeader# file_headercxx . . $ bgcode/core/FileHeader#FileHeader(49f6e7a06ebc5aa8).; |
| 107 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!(read_header(*file, file_header, nullptr) == EResult::Success); |
| 108 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "Checksum type: " <<cxx . . $ std/`operator<<`(88df5bef833f7f83). checksum_type_as_stringcxx . . $ checksum_type_as_string(4559082861fcbc5e).((EChecksumTypecxx . . $ bgcode/core/EChecksumType#)file_header.checksum_typecxx . . $ bgcode/core/FileHeader#checksum_type.) <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "\n"; |
| 109 | |
| 110 | BlockHeadercxx . . $ bgcode/core/BlockHeader# block_headercxx . . $ bgcode/core/BlockHeader#BlockHeader(ced63f7c635d850d).; |
| 111 | |
| 112 | do |
| 113 | { |
| 114 | // read block header |
| 115 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!(read_next_block_header(*file, file_header, block_header, checksum_verify_buffer, sizeof(checksum_verify_buffer)) == EResult::Success); |
| 116 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "Block: " <<cxx . . $ std/`operator<<`(88df5bef833f7f83). block_type_as_stringcxx . . $ block_type_as_string(1de395a9cb061902).((EBlockTypecxx . . $ bgcode/core/EBlockType#)block_header.typecxx . . $ bgcode/core/BlockHeader#type.); |
| 117 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). " - compression: " <<cxx . . $ std/`operator<<`(88df5bef833f7f83). compression_type_as_stringcxx . . $ compression_type_as_string(8ee974a414085bd0).((ECompressionTypecxx . . $ bgcode/core/ECompressionType#)block_header.compressioncxx . . $ bgcode/core/BlockHeader#compression.); |
| 118 | switch ((EBlockTypecxx . . $ bgcode/core/EBlockType#)block_header.typecxx . . $ bgcode/core/BlockHeader#type.) |
| 119 | { |
| 120 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::FileMetadatacxx . . $ bgcode/core/EBlockType#FileMetadata.: |
| 121 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::PrinterMetadatacxx . . $ bgcode/core/EBlockType#PrinterMetadata.: |
| 122 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::PrintMetadatacxx . . $ bgcode/core/EBlockType#PrintMetadata.: |
| 123 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::SlicerMetadatacxx . . $ bgcode/core/EBlockType#SlicerMetadata.: |
| 124 | { |
| 125 | const long curr_pos = ftell(file); |
| 126 | uint16_tcxx . . $ uint16_t# encoding; |
| 127 | const size_tcxx . . $ size_t# rsize = fread(&encoding, 1, sizeof(encoding), file); |
| 128 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!((ferror(file) == 0 && rsize == sizeof(encoding))); |
| 129 | fseek(file, curr_pos, SEEK_SETcxx . . $ `<external>/232824719582829767/stdio.h:114:9`!); |
| 130 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). " - encoding: " <<cxx . . $ std/`operator<<`(88df5bef833f7f83). metadata_encoding_as_stringcxx . . $ metadata_encoding_as_string(c3292df418fde711).((EMetadataEncodingTypecxx . . $ bgcode/core/EMetadataEncodingType#)encoding); |
| 131 | break; |
| 132 | } |
| 133 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::GCodecxx . . $ bgcode/core/EBlockType#GCode.: |
| 134 | { |
| 135 | const long curr_pos = ftell(file); |
| 136 | uint16_tcxx . . $ uint16_t# encoding; |
| 137 | const size_tcxx . . $ size_t# rsize = fread(&encoding, 1, sizeof(encoding), file); |
| 138 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!((ferror(file) == 0 && rsize == sizeof(encoding))); |
| 139 | fseek(file, curr_pos, SEEK_SETcxx . . $ `<external>/232824719582829767/stdio.h:114:9`!); |
| 140 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). " - encoding: " <<cxx . . $ std/`operator<<`(88df5bef833f7f83). gcode_encoding_as_stringcxx . . $ gcode_encoding_as_string(642393b7049a34fc).((EGCodeEncodingTypecxx . . $ bgcode/core/EGCodeEncodingType#)encoding); |
| 141 | break; |
| 142 | } |
| 143 | case EBlockTypecxx . . $ bgcode/core/EBlockType#::Thumbnailcxx . . $ bgcode/core/EBlockType#Thumbnail.: |
| 144 | { |
| 145 | const long curr_pos = ftell(file); |
| 146 | ThumbnailParamscxx . . $ bgcode/core/ThumbnailParams# thumbnail_params; |
| 147 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!(thumbnail_params.read(*file) == EResult::Success); |
| 148 | fseek(file, curr_pos, SEEK_SETcxx . . $ `<external>/232824719582829767/stdio.h:114:9`!); |
| 149 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). " - format: " <<cxx . . $ std/`operator<<`(88df5bef833f7f83). thumbnail_format_as_stringcxx . . $ thumbnail_format_as_string(32ff43823eeef96e).((EThumbnailFormatcxx . . $ bgcode/core/EThumbnailFormat#)thumbnail_params.formatcxx . . $ bgcode/core/ThumbnailParams#format.); |
| 150 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). " (size: " <<cxx . . $ std/basic_ostream#`operator<<`(9f4dd0ebeeaaa173). thumbnail_params.widthcxx . . $ bgcode/core/ThumbnailParams#width. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "x" <<cxx . . $ std/basic_ostream#`operator<<`(9f4dd0ebeeaaa173). thumbnail_params.heightcxx . . $ bgcode/core/ThumbnailParams#height. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). ")"; |
| 151 | break; |
| 152 | } |
| 153 | default: { break; } |
| 154 | } |
| 155 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). " - data size: " <<cxx . . $ std/basic_ostream#`operator<<`(b4c055c363850233). ((block_header.compressed_sizecxx . . $ bgcode/core/BlockHeader#compressed_size. == 0) ? block_header.uncompressed_sizecxx . . $ bgcode/core/BlockHeader#uncompressed_size. : block_header.compressed_sizecxx . . $ bgcode/core/BlockHeader#compressed_size.); |
| 156 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "\n"; |
| 157 | |
| 158 | // move to next block header |
| 159 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!(skip_block(*file, file_header, block_header) == EResult::Success); |
| 160 | if (ftell(file) == file_size) |
| 161 | break; |
| 162 | } while (true); |
| 163 | } |
| 164 | |
| 165 | TEST_CASEcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:144:11`!("Search for GCode blocks", "[Core]") |
| 166 | { |
| 167 | const stdcxx . . $ std/::stringcxx . . $ std/string# filename = stdcxx . . $ std/::stringcxx . . $ std/string#(TEST_DATA_DIRcxx . . $ `<built-in>:484:9`!) +cxx . . $ std/operator+(900ec9581c410ad9). "/mini_cube_b.bgcode"; |
| 168 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "\nTEST: Search for GCode blocks\n"; |
| 169 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "File:" <<cxx . . $ std/`operator<<`(88df5bef833f7f83). filename <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "\n"; |
| 170 | |
| 171 | const size_tcxx . . $ size_t# MAX_CHECKSUM_CACHE_SIZE = 2048; |
| 172 | stdcxx . . $ std/::byte checksum_verify_buffer[MAX_CHECKSUM_CACHE_SIZE]; |
| 173 | |
| 174 | FILEcxx . . $ FILE#* file = boostcxx . . $ boost/::nowidecxx . . $ boost/nowide/::fopencxx . . $ boost/nowide/fopen(82ec0787cd37e0a3).(filename.c_strcxx . . $ std/__cxx11/basic_string#c_str(8e614c7de0b1573e).(), "rb"); |
| 175 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!(file != nullptr); |
| 176 | ScopedFilecxx . . $ ScopedFile# scoped_filecxx . . $ ScopedFile#ScopedFile(8d4262d45fc644ab).(file); |
| 177 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!(is_valid_binary_gcode(*file, true, checksum_verify_buffer, sizeof(checksum_verify_buffer)) == EResult::Success); |
| 178 | |
| 179 | fseek(file, 0, SEEK_ENDcxx . . $ `<external>/232824719582829767/stdio.h:116:9`!); |
| 180 | const long file_size = ftell(file); |
| 181 | rewind(file); |
| 182 | |
| 183 | FileHeadercxx . . $ bgcode/core/FileHeader# file_headercxx . . $ bgcode/core/FileHeader#FileHeader(49f6e7a06ebc5aa8).; |
| 184 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!(read_header(*file, file_header, nullptr) == EResult::Success); |
| 185 | |
| 186 | BlockHeadercxx . . $ bgcode/core/BlockHeader# block_headercxx . . $ bgcode/core/BlockHeader#BlockHeader(ced63f7c635d850d).; |
| 187 | |
| 188 | do |
| 189 | { |
| 190 | // search and read block header by type |
| 191 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!(read_next_block_header(*file, file_header, block_header, EBlockType::GCode, checksum_verify_buffer, sizeof(checksum_verify_buffer)) == EResult::Success); |
| 192 | stdcxx . . $ std/::coutcxx . . $ std/cout. <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "Block type: " <<cxx . . $ std/`operator<<`(88df5bef833f7f83). block_type_as_stringcxx . . $ block_type_as_string(1de395a9cb061902).((EBlockTypecxx . . $ bgcode/core/EBlockType#)block_header.typecxx . . $ bgcode/core/BlockHeader#type.) <<cxx . . $ std/`operator<<`(efaf8c13fc75f3c7). "\n"; |
| 193 | |
| 194 | // move to next block header |
| 195 | REQUIREcxx . . $ `<external>/1821973855936310166/catch_test_macros.hpp:127:11`!(skip_block(*file, file_header, block_header) == EResult::Success); |
| 196 | if (ftell(file) == file_size) |
| 197 | break; |
| 198 | } while (true); |
| 199 | } |