|
@@ -342,6 +342,12 @@ static void settings_test_exec ( void ) {
|
342
|
342
|
RAW ( 0x98, 0xab, 0x41, 0x81 ), 0x98ab4181 );
|
343
|
343
|
fetchn_ok ( &test_settings, &test_uint32_setting,
|
344
|
344
|
RAW ( 0xff, 0xff, 0xfe ), 0x00fffffe );
|
|
345
|
+ fetchn_ok ( &test_settings, &test_uint32_setting,
|
|
346
|
+ RAW ( 0, 0, 0, 0x12, 0x34, 0x56, 0x78 ), 0x12345678 );
|
|
347
|
+ fetchn_ok ( &test_settings, &test_int32_setting,
|
|
348
|
+ RAW ( 0, 0, 0, 0x12, 0x34, 0x56, 0x78 ), 0x12345678 );
|
|
349
|
+ fetchn_ok ( &test_settings, &test_int32_setting,
|
|
350
|
+ RAW ( 0xff, 0xff, 0x87, 0x65, 0x43, 0x21 ), -0x789abcdf );
|
345
|
351
|
|
346
|
352
|
/* "hex" setting type */
|
347
|
353
|
storef_ok ( &test_settings, &test_hex_setting,
|