Permalink
Browse files

remove redundant test

  • Loading branch information...
1 parent c4234e1 commit beb4b49af52d59cce9c0ff44b00d733ef4f5ae44 @rsl committed Apr 4, 2013
Showing with 0 additions and 80 deletions.
  1. +0 −40 test/localization/default_test.rb
  2. +0 −40 test/localization/en_test.rb
@@ -111,44 +111,4 @@ def setup
assert_equal converted, original.convert_vulgar_fractions
end
end
-
- def test_convert_vulgar_fractions
- {
- "¼" => "one fourth",
- "¼" => "one fourth",
- "¼" => "one fourth",
- "½" => "half",
- "½" => "half",
- "½" => "half",
- "¾" => "three fourths",
- "¾" => "three fourths",
- "¾" => "three fourths",
- "" => "one third",
- "⅓" => "one third",
- "" => "two thirds",
- "⅔" => "two thirds",
- "" => "one fifth",
- "⅕" => "one fifth",
- "" => "two fifths",
- "⅖" => "two fifths",
- "" => "three fifths",
- "⅗" => "three fifths",
- "" => "four fifths",
- "⅘" => "four fifths",
- "" => "one sixth",
- "⅙" => "one sixth",
- "" => "five sixths",
- "⅚" => "five sixths",
- "" => "one eighth",
- "⅛" => "one eighth",
- "" => "three eighths",
- "⅜" => "three eighths",
- "" => "five eighths",
- "⅝" => "five eighths",
- "" => "seven eighths",
- "⅞" => "seven eighths"
- }.each do |entitied, plain|
- assert_equal plain, entitied.convert_vulgar_fractions
- end
- end
end
@@ -114,44 +114,4 @@ def setup
assert_equal converted, original.convert_vulgar_fractions
end
end
-
- def test_convert_vulgar_fractions
- {
- "¼" => "one fourth",
- "¼" => "one fourth",
- "¼" => "one fourth",
- "½" => "half",
- "½" => "half",
- "½" => "half",
- "¾" => "three fourths",
- "¾" => "three fourths",
- "¾" => "three fourths",
- "" => "one third",
- "⅓" => "one third",
- "" => "two thirds",
- "⅔" => "two thirds",
- "" => "one fifth",
- "⅕" => "one fifth",
- "" => "two fifths",
- "⅖" => "two fifths",
- "" => "three fifths",
- "⅗" => "three fifths",
- "" => "four fifths",
- "⅘" => "four fifths",
- "" => "one sixth",
- "⅙" => "one sixth",
- "" => "five sixths",
- "⅚" => "five sixths",
- "" => "one eighth",
- "⅛" => "one eighth",
- "" => "three eighths",
- "⅜" => "three eighths",
- "" => "five eighths",
- "⅝" => "five eighths",
- "" => "seven eighths",
- "⅞" => "seven eighths"
- }.each do |entitied, plain|
- assert_equal plain, entitied.convert_vulgar_fractions
- end
- end
end

0 comments on commit beb4b49

Please sign in to comment.