Support schedule-* commands from command-line client. Exiguously tested.
[disorder] / lib / t-bits.c
index 846abb8..80bfdf5 100644 (file)
 #include "test.h"
 #include "bits.h"
 
-void test_bits(void) {
+static void test_bits(void) {
   int n;
   
-  printf("test_bits\n");
   check_integer(leftmost_bit(0), -1);
   check_integer(leftmost_bit(0x80000000), 31);
   check_integer(leftmost_bit(0xffffffff), 31);
@@ -36,6 +35,8 @@ void test_bits(void) {
   }
 }
 
+TEST(bits);
+
 /*
 Local Variables:
 c-basic-offset:2