We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72f01ef commit 4ff7ceaCopy full SHA for 4ff7cea
test/test-eth-abi.c
@@ -3,25 +3,6 @@
3
#include <tap.h>
4
#include <assert.h>
5
6
-void print_formatted_hex(const char *hex_str, size_t len) {
7
- size_t bytes = len / 2; // 2 hex characters per byte
8
- size_t address = 0;
9
-
10
- for (size_t i = 0; i < bytes; ++i) {
11
- if (i % 32 == 0) {
12
- if (i != 0) printf("\n");
13
14
- printf("0x%02X: ", (unsigned int)address);
15
- address += 0x20;
16
- }
17
18
- // Print two characters (one byte)
19
- printf("%c%c", hex_str[i * 2], hex_str[i * 2 + 1]);
20
21
22
- printf("\n");
23
-}
24
25
void test_eth_abi_bool(void) {
26
struct eth_abi abi0={0}, abi1={0};
27
uint8_t b0=1, b1=0, b2, b3;
0 commit comments