mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/fmt_print: add test for print_bytes_hex()
This commit is contained in:
parent
95e654f232
commit
9dc63f583a
@ -45,6 +45,8 @@ int main(void)
|
||||
print_str("\n");
|
||||
print_float(1.2345, 5);
|
||||
print_str("\n");
|
||||
print_bytes_hex("0123456789", 10);
|
||||
print_str("\n");
|
||||
/* test mixing of printf() and fmt's print() works fine */
|
||||
printf("%s", "Test");
|
||||
/* test fmt's print indeed only honors the length parameter and doesn't
|
||||
|
@ -15,6 +15,7 @@ def testfunc(child):
|
||||
child.expect_exact('18446744073709551615')
|
||||
child.expect_exact('-9223372036854775808')
|
||||
child.expect_exact('1.23450')
|
||||
child.expect_exact('30313233343536373839')
|
||||
child.expect_exact('Test successful.')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user