Решение на Девета задача от София Петрова
Обратно към всички решения
Към профила на София Петрова
Резултати
- 0 точки от тестове
- 0 бонус точки
- 0 точки общо
- 0 успешни тест(а)
- 1 неуспешни тест(а)
Код
Лог от изпълнението
From https://github.com/fmi/ruby-retrospective-2015-1
* branch master -> FETCH_HEAD
HEAD is now at 767dd8d Update the task name in the readme for clarity
Cloning into 'submission'...
HEAD is now at e959825 Delete test for task 1
From /tmp/ruby-retrospective-2015-1/checker
* branch master -> FETCH_HEAD
* [new branch] master -> upstream/master
Changes URL:
https://github.com/SophiaPetrova/ruby-retrospective-2015-1/compare/767dd8dfe46...e95982587f0
‘solutions/04.rb’ -> ‘/tmp/ruby-retrospective-2015-1/checker/solutions/04.rb’
‘solutions/02.rb’ -> ‘/tmp/ruby-retrospective-2015-1/checker/solutions/02.rb’
‘solutions/03.rb’ -> ‘/tmp/ruby-retrospective-2015-1/checker/solutions/03.rb’
‘solutions/01.rb’ -> ‘/tmp/ruby-retrospective-2015-1/checker/solutions/01.rb’
OK
........
Finished in 0.00488 seconds
8 examples, 0 failures
Number of methods per class (10)
* has 11 methods: #terrain, #spot_ahead, #grow, #move, #new_food, #obstacle_ahead?, #danger?, #snake_head, #position_in_front_of_snake, #wall_ahead?, #body_ahead?
Errors found
F
Failures:
1) ruby-retrospective-2015-1 covers the minimum requirements
Failure/Error: system(command) or raise "Command failed for #{@solutions_repo}: #{command}"
RuntimeError:
Command failed for https://github.com/SophiaPetrova/ruby-retrospective-2015-1: bundle exec rake check
# /tmp/d20160131-21007-14h2ku8/spec.rb:107:in `execute'
# /tmp/d20160131-21007-14h2ku8/spec.rb:82:in `block (3 levels) in solutions_pass_all_checks'
# /tmp/d20160131-21007-14h2ku8/spec.rb:81:in `chdir'
# /tmp/d20160131-21007-14h2ku8/spec.rb:81:in `block (2 levels) in solutions_pass_all_checks'
# /tmp/d20160131-21007-14h2ku8/spec.rb:47:in `chdir'
# /tmp/d20160131-21007-14h2ku8/spec.rb:47:in `block in solutions_pass_all_checks'
# /tmp/d20160131-21007-14h2ku8/spec.rb:46:in `solutions_pass_all_checks'
# /tmp/d20160131-21007-14h2ku8/spec.rb:20:in `ok?'
# /tmp/d20160131-21007-14h2ku8/spec.rb:126:in `<top (required)>'
Finished in 0.00087 seconds
1 example, 1 failure
Failed examples:
rspec /tmp/d20160131-21007-14h2ku8/spec.rb:132 # ruby-retrospective-2015-1 covers the minimum requirements
История (2 версии и 1 коментар)
София обнови решението на 27.01.2016 21:29 (преди около 9 години)
София обнови решението на 27.01.2016 23:29 (преди около 9 години)