diff options
author | Ben Pfaff <blp@nicira.com> | 2011-07-22 10:20:52 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2011-07-22 17:46:48 -0700 |
commit | 711e0157cf345f1473247ec90c6ff39eb9f7743c (patch) | |
tree | f65665a1ea974b7dd5484dec7fefc000e1e01204 /tests/library.at | |
parent | 897b9afc123aec3b9e8950797b53909754e748bc (diff) |
util: New function log_2_floor().
Calculates the position of the most significant bit in a 32 bit
word.
Diffstat (limited to 'tests/library.at')
-rw-r--r-- | tests/library.at | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/library.at b/tests/library.at index ec50e23a..ca5f29ca 100644 --- a/tests/library.at +++ b/tests/library.at @@ -100,6 +100,10 @@ nibble 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ]) AT_CLEANUP +AT_SETUP([test log_2_floor]) +AT_CHECK([test-util]) +AT_CLEANUP + AT_SETUP([test unix socket -- short pathname]) AT_CHECK([test-unix-socket x]) AT_CLEANUP |