OSDN Git Service

add test as object of this branch
authorTomohiro Nishimura <tomohiro68@gmail.com>
Fri, 26 Feb 2010 01:49:32 +0000 (10:49 +0900)
committerTomohiro Nishimura <tomohiro68@gmail.com>
Fri, 26 Feb 2010 01:49:32 +0000 (10:49 +0900)
spec/spec_helper.rb

index 51bd9e5..be3cfd0 100644 (file)
@@ -74,6 +74,7 @@ module ProblemExamples
       ['- .04324134213', '-0.043'],
       ['-50/12 div 12*32', '-50 / 12 div (12 * 32)'],
       ['-sqrt(2)', '-sqrt(2)'],
+      ['-(5 + 2x)', '(2x - 5)'],
       # TODO: need more pattern
     ]
   end