Анаграми
- Краен срок
- 14.11.2014 12:00
Срокът за предаване на решения е отминал
Анаграми
Описание на проблема
Анаграма наричаме дума, образувана чрез разбъркване на буквите на друга дума. Не добавяме нови букви, нито премахваме вече съществуващи.
Задачата ви е да създадете метода String#anagrams(words)
, който по подаден списък от думи връща само тези, които са анаграми на думата, върху която е извикан методът.
Резултатът от извикването на метода трябва да е енумератор, а ако е подаден блок - да yield-ва стойностите.
Примери
"world".anagrams(["wlord", "dwloor", "zombies", "word"]).to_a # => ["wlord"]
"Starer".anagrams(["cashregister", "Arrest", "stance"]).to_a # => ["Arrest"]
"world".anagrams(["wlord", "dwloor", "zombies", "word"]) { |anagram| puts anagram } # принтира "wlord" на стандартния изход
Ограничения
- Никоя дума не е анаграма на себе си.
- Методът трябва да работи с case insensitive вход.
Примерен тест
За информация как да изпълните примерния тест, погледнете GitHub хранилището с домашните.
Решения
-
Некоректно
- 5 успешни тест(а)
- 3 неуспешни тест(а)
Ясен Трифонов
.F..FF..
Failures:
1) String#anagrams finds simple anagrams
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: ["tan"]
actual collection contained: []
the missing elements were: ["tan"]
# /tmp/d20141114-26053-13ygkqy/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-13ygkqy/spec.rb:11:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams finds multiple anagrams
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: ["gallery", "largely", "regally"]
actual collection contained: []
the missing elements were: ["gallery", "largely", "regally"]
# /tmp/d20141114-26053-13ygkqy/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-13ygkqy/spec.rb:23:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
3) String#anagrams finds case insensitive anagrams
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: ["Carthorse"]
actual collection contained: []
the missing elements were: ["Carthorse"]
# /tmp/d20141114-26053-13ygkqy/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-13ygkqy/spec.rb:29:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00627 seconds
8 examples, 3 failures
Failed examples:
rspec /tmp/d20141114-26053-13ygkqy/spec.rb:10 # String#anagrams finds simple anagrams
rspec /tmp/d20141114-26053-13ygkqy/spec.rb:22 # String#anagrams finds multiple anagrams
rspec /tmp/d20141114-26053-13ygkqy/spec.rb:28 # String#anagrams finds case insensitive anagrams
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Димитър Мутаров
........
Finished in 0.00631 seconds
8 examples, 0 failures
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Снежана Спасова
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-6ynxui/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-6ynxui/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00637 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-6ynxui/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 6 успешни тест(а)
- 2 неуспешни тест(а)
Венцислав Димитров
......FF
Failures:
1) String#anagrams does not return the receiver word because it is not anagram for itself
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["banana"]
the extra elements were: ["banana"]
# /tmp/d20141114-26053-1ei6pr4/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1ei6pr4/spec.rb:34:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-1ei6pr4/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1ei6pr4/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00646 seconds
8 examples, 2 failures
Failed examples:
rspec /tmp/d20141114-26053-1ei6pr4/spec.rb:33 # String#anagrams does not return the receiver word because it is not anagram for itself
rspec /tmp/d20141114-26053-1ei6pr4/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Камен Канев
........
Finished in 0.00641 seconds
8 examples, 0 failures
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Людмила Савова
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-1p3llq6/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1p3llq6/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00649 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-1p3llq6/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Емилиан Станков
........
Finished in 0.00831 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Николай Димитров
........
Finished in 0.00627 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Александър Александров
........
Finished in 0.00672 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Константин Тодоров
........
Finished in 0.0066 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Бисер Кръстев
........
Finished in 0.00626 seconds
8 examples, 0 failures
-
Некоректно
- 6 успешни тест(а)
- 2 неуспешни тест(а)
Габриела Лухова
......FF
Failures:
1) String#anagrams does not return the receiver word because it is not anagram for itself
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["banana"]
the extra elements were: ["banana"]
# /tmp/d20141114-26053-1xq9a4j/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1xq9a4j/spec.rb:34:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-1xq9a4j/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1xq9a4j/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00859 seconds
8 examples, 2 failures
Failed examples:
rspec /tmp/d20141114-26053-1xq9a4j/spec.rb:33 # String#anagrams does not return the receiver word because it is not anagram for itself
rspec /tmp/d20141114-26053-1xq9a4j/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Георги Костов
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-skzhgp/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-skzhgp/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.20352 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-skzhgp/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Теодор Драганов
........
Finished in 0.0073 seconds
8 examples, 0 failures
-
Некоректно
- 6 успешни тест(а)
- 2 неуспешни тест(а)
Станислав Венков
......FF
Failures:
1) String#anagrams does not return the receiver word because it is not anagram for itself
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["banana"]
the extra elements were: ["banana"]
# /tmp/d20141114-26053-1vgtr4s/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1vgtr4s/spec.rb:34:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-1vgtr4s/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1vgtr4s/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00638 seconds
8 examples, 2 failures
Failed examples:
rspec /tmp/d20141114-26053-1vgtr4s/spec.rb:33 # String#anagrams does not return the receiver word because it is not anagram for itself
rspec /tmp/d20141114-26053-1vgtr4s/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Ангел Ангелов
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-13nfh78/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-13nfh78/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.22865 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-13nfh78/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Диана Генева
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-1mc2vfu/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1mc2vfu/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00712 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-1mc2vfu/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Евгений Бояджиев
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-1be94zd/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1be94zd/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00825 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-1be94zd/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Мартина Радева
........
Finished in 0.00767 seconds
8 examples, 0 failures
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Йоан Динков
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-1r0doig/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1r0doig/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00622 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-1r0doig/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Дамян Димитров
........
Finished in 0.00627 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Веселин Добрев
........
Finished in 0.00632 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Гюлджан Купен
........
Finished in 0.00712 seconds
8 examples, 0 failures
-
Некоректно
- 6 успешни тест(а)
- 2 неуспешни тест(а)
Александър Пирнарев
......FF
Failures:
1) String#anagrams does not return the receiver word because it is not anagram for itself
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["banana"]
the extra elements were: ["banana"]
# /tmp/d20141114-26053-19elblb/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-19elblb/spec.rb:34:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-19elblb/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-19elblb/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00661 seconds
8 examples, 2 failures
Failed examples:
rspec /tmp/d20141114-26053-19elblb/spec.rb:33 # String#anagrams does not return the receiver word because it is not anagram for itself
rspec /tmp/d20141114-26053-19elblb/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Мария Дулева
........
Finished in 0.0062 seconds
8 examples, 0 failures
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Светлозар Стефанов
....F...
Failures:
1) String#anagrams finds multiple anagrams
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: ["gallery", "largely", "regally"]
actual collection contained: ["gallery"]
the missing elements were: ["largely", "regally"]
# /tmp/d20141114-26053-wwm1zv/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-wwm1zv/spec.rb:23:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00636 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-wwm1zv/spec.rb:22 # String#anagrams finds multiple anagrams
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Деян Гюрджеклиев
........
Finished in 0.00713 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Йоана Тодорова
........
Finished in 0.0063 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Александър Петков
........
Finished in 0.00639 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Любомир Папазов
........
Finished in 0.00887 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Тодор Табаков
........
Finished in 0.00667 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Божидар Горов
........
Finished in 0.00673 seconds
8 examples, 0 failures
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Яни Малцев
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-17u7x58/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-17u7x58/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00652 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-17u7x58/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 6 успешни тест(а)
- 2 неуспешни тест(а)
Камен Станев
......FF
Failures:
1) String#anagrams does not return the receiver word because it is not anagram for itself
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["banana"]
the extra elements were: ["banana"]
# /tmp/d20141114-26053-pvji6g/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-pvji6g/spec.rb:34:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-pvji6g/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-pvji6g/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00672 seconds
8 examples, 2 failures
Failed examples:
rspec /tmp/d20141114-26053-pvji6g/spec.rb:33 # String#anagrams does not return the receiver word because it is not anagram for itself
rspec /tmp/d20141114-26053-pvji6g/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Нели Василева
.....F..
Failures:
1) String#anagrams finds case insensitive anagrams
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
Timeout::Error:
execution expired
# /tmp/d20141114-26053-1a4bg3g/solution.rb:7:in `block (2 levels) in anagrams'
# /tmp/d20141114-26053-1a4bg3g/solution.rb:6:in `each'
# /tmp/d20141114-26053-1a4bg3g/solution.rb:6:in `block in anagrams'
# /tmp/d20141114-26053-1a4bg3g/solution.rb:5:in `permutation'
# /tmp/d20141114-26053-1a4bg3g/solution.rb:5:in `anagrams'
# /tmp/d20141114-26053-1a4bg3g/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1a4bg3g/spec.rb:29:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 1.11 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-1a4bg3g/spec.rb:28 # String#anagrams finds case insensitive anagrams
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Елена Орешарова
........
Finished in 0.00631 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Любомир Петков
........
Finished in 0.62587 seconds
8 examples, 0 failures
-
Некоректно
- 5 успешни тест(а)
- 3 неуспешни тест(а)
Ивайло Георгиев
.....FFF
Failures:
1) String#anagrams finds case insensitive anagrams
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
Timeout::Error:
execution expired
# /tmp/d20141114-26053-1knuywa/solution.rb:4:in `permutation'
# /tmp/d20141114-26053-1knuywa/solution.rb:4:in `each'
# /tmp/d20141114-26053-1knuywa/solution.rb:4:in `map'
# /tmp/d20141114-26053-1knuywa/solution.rb:4:in `block in anagrams'
# /tmp/d20141114-26053-1knuywa/solution.rb:4:in `each'
# /tmp/d20141114-26053-1knuywa/solution.rb:4:in `anagrams'
# /tmp/d20141114-26053-1knuywa/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1knuywa/spec.rb:29:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams does not return the receiver word because it is not anagram for itself
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["banana"]
the extra elements were: ["banana"]
# /tmp/d20141114-26053-1knuywa/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1knuywa/spec.rb:34:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
3) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-1knuywa/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1knuywa/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 1.21 seconds
8 examples, 3 failures
Failed examples:
rspec /tmp/d20141114-26053-1knuywa/spec.rb:28 # String#anagrams finds case insensitive anagrams
rspec /tmp/d20141114-26053-1knuywa/spec.rb:33 # String#anagrams does not return the receiver word because it is not anagram for itself
rspec /tmp/d20141114-26053-1knuywa/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Екатерина Горанова
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-fvtzk0/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-fvtzk0/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.0065 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-fvtzk0/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 6 успешни тест(а)
- 2 неуспешни тест(а)
Светослав Кръстев
.F.F....
Failures:
1) String#anagrams finds simple anagrams
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: ["tan"]
actual collection contained: ["stand", "tan"]
the extra elements were: ["stand"]
# /tmp/d20141114-26053-xco9ho/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-xco9ho/spec.rb:11:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams eliminates anagram subsets
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["goody"]
the extra elements were: ["goody"]
# /tmp/d20141114-26053-xco9ho/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-xco9ho/spec.rb:19:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.0089 seconds
8 examples, 2 failures
Failed examples:
rspec /tmp/d20141114-26053-xco9ho/spec.rb:10 # String#anagrams finds simple anagrams
rspec /tmp/d20141114-26053-xco9ho/spec.rb:18 # String#anagrams eliminates anagram subsets
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Бетина Иванова
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-dbhdia/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-dbhdia/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00683 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-dbhdia/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Любомир Иванов
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-1i2aiwp/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1i2aiwp/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00692 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-1i2aiwp/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Велислав Симеонов
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-lj8396/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-lj8396/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.0066 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-lj8396/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Георги Павлов
.....F..
Failures:
1) String#anagrams finds case insensitive anagrams
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
Timeout::Error:
execution expired
# /tmp/d20141114-26053-15rwyv1/solution.rb:4:in `permutation'
# /tmp/d20141114-26053-15rwyv1/solution.rb:4:in `each'
# /tmp/d20141114-26053-15rwyv1/solution.rb:4:in `map'
# /tmp/d20141114-26053-15rwyv1/solution.rb:4:in `anagrams'
# /tmp/d20141114-26053-15rwyv1/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-15rwyv1/spec.rb:29:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 1.11 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-15rwyv1/spec.rb:28 # String#anagrams finds case insensitive anagrams
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Атанас Цанков
........
Finished in 0.00646 seconds
8 examples, 0 failures
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Кристиан Цветков
........
Finished in 0.00692 seconds
8 examples, 0 failures
-
Некоректно
- 6 успешни тест(а)
- 2 неуспешни тест(а)
Светлозар Тодоров
......FF
Failures:
1) String#anagrams does not return the receiver word because it is not anagram for itself
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["banana"]
the extra elements were: ["banana"]
# /tmp/d20141114-26053-1njj2gn/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1njj2gn/spec.rb:34:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-1njj2gn/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1njj2gn/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00709 seconds
8 examples, 2 failures
Failed examples:
rspec /tmp/d20141114-26053-1njj2gn/spec.rb:33 # String#anagrams does not return the receiver word because it is not anagram for itself
rspec /tmp/d20141114-26053-1njj2gn/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 6 успешни тест(а)
- 2 неуспешни тест(а)
Пламен Каращранов
......FF
Failures:
1) String#anagrams does not return the receiver word because it is not anagram for itself
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["banana"]
the extra elements were: ["banana"]
# /tmp/d20141114-26053-3nunt7/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-3nunt7/spec.rb:34:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-3nunt7/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-3nunt7/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00676 seconds
8 examples, 2 failures
Failed examples:
rspec /tmp/d20141114-26053-3nunt7/spec.rb:33 # String#anagrams does not return the receiver word because it is not anagram for itself
rspec /tmp/d20141114-26053-3nunt7/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Людмил Делчев
........
Finished in 0.00682 seconds
8 examples, 0 failures
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Станимир Митев
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-yg0hq9/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-yg0hq9/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00712 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-yg0hq9/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Георги Димов
.....F..
Failures:
1) String#anagrams finds case insensitive anagrams
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
Timeout::Error:
execution expired
# /tmp/d20141114-26053-ve3mah/solution.rb:3:in `permutation'
# /tmp/d20141114-26053-ve3mah/solution.rb:3:in `each'
# /tmp/d20141114-26053-ve3mah/solution.rb:3:in `map'
# /tmp/d20141114-26053-ve3mah/solution.rb:3:in `anagrams'
# /tmp/d20141114-26053-ve3mah/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-ve3mah/spec.rb:29:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 1.11 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-ve3mah/spec.rb:28 # String#anagrams finds case insensitive anagrams
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Атанас Димитров
........
Finished in 0.00677 seconds
8 examples, 0 failures
-
Некоректно
- 6 успешни тест(а)
- 2 неуспешни тест(а)
Любослава Димитрова
......FF
Failures:
1) String#anagrams does not return the receiver word because it is not anagram for itself
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["banana"]
the extra elements were: ["banana"]
# /tmp/d20141114-26053-l0bgo3/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-l0bgo3/spec.rb:34:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-l0bgo3/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-l0bgo3/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.01666 seconds
8 examples, 2 failures
Failed examples:
rspec /tmp/d20141114-26053-l0bgo3/spec.rb:33 # String#anagrams does not return the receiver word because it is not anagram for itself
rspec /tmp/d20141114-26053-l0bgo3/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Калин Христов
........
Finished in 0.0063 seconds
8 examples, 0 failures
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Методи Димитров
.....F..
Failures:
1) String#anagrams finds case insensitive anagrams
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
Timeout::Error:
execution expired
# /tmp/d20141114-26053-1uhxmg7/solution.rb:3:in `permutation'
# /tmp/d20141114-26053-1uhxmg7/solution.rb:3:in `each'
# /tmp/d20141114-26053-1uhxmg7/solution.rb:3:in `map'
# /tmp/d20141114-26053-1uhxmg7/solution.rb:3:in `anagrams'
# /tmp/d20141114-26053-1uhxmg7/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1uhxmg7/spec.rb:29:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 1.11 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-1uhxmg7/spec.rb:28 # String#anagrams finds case insensitive anagrams
-
Коректно
- 8 успешни тест(а)
- 0 неуспешни тест(а)
Мая Терзиева
........
Finished in 0.00677 seconds
8 examples, 0 failures
-
Некоректно
- 6 успешни тест(а)
- 2 неуспешни тест(а)
Йончо Йончев
......FF
Failures:
1) String#anagrams does not return the receiver word because it is not anagram for itself
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["banana"]
the extra elements were: ["banana"]
# /tmp/d20141114-26053-2231i1/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-2231i1/spec.rb:34:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-2231i1/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-2231i1/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00758 seconds
8 examples, 2 failures
Failed examples:
rspec /tmp/d20141114-26053-2231i1/spec.rb:33 # String#anagrams does not return the receiver word because it is not anagram for itself
rspec /tmp/d20141114-26053-2231i1/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Иван Кавалджиев
.....F..
Failures:
1) String#anagrams finds case insensitive anagrams
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
Timeout::Error:
execution expired
# /tmp/d20141114-26053-ut1y2a/solution.rb:3:in `block in anagrams'
# /tmp/d20141114-26053-ut1y2a/solution.rb:3:in `permutation'
# /tmp/d20141114-26053-ut1y2a/solution.rb:3:in `each'
# /tmp/d20141114-26053-ut1y2a/solution.rb:3:in `map'
# /tmp/d20141114-26053-ut1y2a/solution.rb:3:in `anagrams'
# /tmp/d20141114-26053-ut1y2a/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-ut1y2a/spec.rb:29:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 1.11 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-ut1y2a/spec.rb:28 # String#anagrams finds case insensitive anagrams
-
Некоректно
- 7 успешни тест(а)
- 1 неуспешни тест(а)
Герасим Станчев
.......F
Failures:
1) String#anagrams does not return the receiver word even if it is in different case
Failure/Error: expect(word.anagrams(amongst).to_a).to match_array are
expected collection contained: []
actual collection contained: ["BANANA"]
the extra elements were: ["BANANA"]
# /tmp/d20141114-26053-1nraip0/spec.rb:3:in `anagrams_for'
# /tmp/d20141114-26053-1nraip0/spec.rb:38:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.00752 seconds
8 examples, 1 failure
Failed examples:
rspec /tmp/d20141114-26053-1nraip0/spec.rb:37 # String#anagrams does not return the receiver word even if it is in different case