diff options
| author | bluemonk <ceresa@gmail.com> | 2011-04-21 11:19:24 +0200 |
|---|---|---|
| committer | bluemonk <ceresa@gmail.com> | 2011-04-21 11:19:24 +0200 |
| commit | 9caa3c8505e0a3563f6e54077d9674628e04864c (patch) | |
| tree | 6a9a5e3aba5ca511ac0d6e6905a6cfa2b0be5e96 /test/ipaddress/extensions/extensions_test.rb | |
| parent | c95e3e6a5dde0aadc7d433efe372c282fbb3913b (diff) | |
| download | ipaddress-ruby-stdlib.tar.gz | |
All the library in one file to facilitate ruby-stdlib integrationruby-stdlib
Diffstat (limited to 'test/ipaddress/extensions/extensions_test.rb')
| -rw-r--r-- | test/ipaddress/extensions/extensions_test.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/test/ipaddress/extensions/extensions_test.rb b/test/ipaddress/extensions/extensions_test.rb deleted file mode 100644 index 06b0a2c..0000000 --- a/test/ipaddress/extensions/extensions_test.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'test_helper' - -class ExtensionsTest < Test::Unit::TestCase - - def test_method_power_of_2? - assert_equal true, 16.power_of_2? - assert_equal false, 20.power_of_2? - end - - def test_method_closest_power_of_2 - assert_equal 8, 6.closest_power_of_2 - assert_equal 16, 13.closest_power_of_2 - assert_equal 32, 24.closest_power_of_2 - end - -end - - |
