1
는 :루비의 악취 품질 검사 내 로봇 클래스에 오류가 아래 얻고있다
Commands tests @robot.placed at least 4 times (RepeatedConditional)
것은이 그것을 문제가있는 코드를 일으키는된다 : 우리가 피하기 위해이를 다시 구성하는 것이 어떻게
def move
@robot.move_forward if @robot.placed
end
def left
@robot.left if @robot.placed
end
def right
@robot.right if @robot.placed
end
def report
puts @robot.report_current_position if @robot.placed
end
이 경고?