Lines Matching refs:unit_prefix_is_valid
429 TEST(unit_prefix_is_valid) { in TEST() argument
430 assert_se(unit_prefix_is_valid("fooBar")); in TEST()
431 assert_se(unit_prefix_is_valid("foo-bar")); in TEST()
432 assert_se(unit_prefix_is_valid("foo.stUff")); in TEST()
433 assert_se(unit_prefix_is_valid("fOo123.stuff")); in TEST()
434 assert_se(unit_prefix_is_valid("foo123.Stuff")); in TEST()
436 assert_se(!unit_prefix_is_valid("$¢£")); in TEST()
437 assert_se(!unit_prefix_is_valid("")); in TEST()
438 assert_se(!unit_prefix_is_valid("foo bar")); in TEST()
439 assert_se(!unit_prefix_is_valid("foo/bar")); in TEST()
440 assert_se(!unit_prefix_is_valid("@foo-bar")); in TEST()