Add tests for Int32.numberOfLeadingZeros.
diff --git a/test/int32_test.dart b/test/int32_test.dart
index 52474c6..f33c1c5 100644
--- a/test/int32_test.dart
+++ b/test/int32_test.dart
@@ -165,6 +165,15 @@
     });
   });
 
+  group("leading/trailing zeros", () {
+    test("numberOfLeadingZeros", () {
+      expect(new Int32(0).numberOfLeadingZeros(), 32);
+      expect(new Int32(1).numberOfLeadingZeros(), 31);
+      expect(new Int32(0xffff).numberOfLeadingZeros(), 16);
+      expect(new Int32(-1).numberOfLeadingZeros(), 0);
+    });
+  });
+
   group("comparison operators", () {
     test("compareTo", () {
       expect(new Int32(0).compareTo(-1), 1);