Searched refs:us_test (Results 1 – 1 of 1) sorted by relevance
113 static struct unsshort_st us_test[USHORT_TESTS_ARRSZ]; variable130 i = 1; us_test[i].num = 0xFFU; us_test[i].expected = "256"; in test_unsigned_short_formatting()131 i++; us_test[i].num = 0xF0U; us_test[i].expected = "240"; in test_unsigned_short_formatting()132 i++; us_test[i].num = 0x0FU; us_test[i].expected = "15"; in test_unsigned_short_formatting()134 i++; us_test[i].num = 0xE0U; us_test[i].expected = "224"; in test_unsigned_short_formatting()135 i++; us_test[i].num = 0x0EU; us_test[i].expected = "14"; in test_unsigned_short_formatting()137 i++; us_test[i].num = 0xC0U; us_test[i].expected = "192"; in test_unsigned_short_formatting()138 i++; us_test[i].num = 0x0CU; us_test[i].expected = "12"; in test_unsigned_short_formatting()140 i++; us_test[i].num = 0x01U; us_test[i].expected = "1"; in test_unsigned_short_formatting()141 i++; us_test[i].num = 0x00U; us_test[i].expected = "0"; in test_unsigned_short_formatting()[all …]