test/unitwise/functional_test.rb in unitwise-2.1.0 vs test/unitwise/functional_test.rb in unitwise-2.2.0
- old
+ new
@@ -1,9 +1,9 @@
require 'test_helper'
describe Unitwise::Functional do
subject { Unitwise::Functional }
- %w{cel degf hpX hpC tan100 ph ld ln lg 2lg}.each do |function|
+ %w{cel degf degre hpX hpC tan100 ph ld ln lg 2lg}.each do |function|
describe function do
it 'should convert back and forth' do
number = rand(1000) / 1000.0
there = subject.send "to_#{function}", number
back_again = subject.send "from_#{function}", there