Skip to content

Commit

Permalink
Add fixme notices
Browse files Browse the repository at this point in the history
  • Loading branch information
colder committed Feb 9, 2015
1 parent 59a2eaa commit d5a9f51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testcases/repair/Numerical/Numerical1.scala
Expand Up @@ -12,7 +12,7 @@ object Numerical {
} else if (p%2 == 0) {
power(base*base, p/2)
} else {
power(base, p-1)
power(base, p-1) // fixme: Missing base*
}
} ensuring {
res => ((base, p), res) passes {
Expand Down
2 changes: 1 addition & 1 deletion testcases/repair/Numerical/Numerical2.scala
Expand Up @@ -27,7 +27,7 @@ object Numerical {
require(a > 0 && b > 0);

if (a == b) {
1
1 // fixme: should be a
} else if (a > b) {
gcd(a-b, b)
} else {
Expand Down
2 changes: 1 addition & 1 deletion testcases/repair/Numerical/Numerical3.scala
Expand Up @@ -42,7 +42,7 @@ object Numerical {
def moddiv(a: Int, b: Int): (Int, Int) = {
require(a >= 0 && b > 0);
if (b > a) {
(1, 0)
(1, 0) // fixme: should be (a, 0)
} else {
val (r1, r2) = moddiv(a-b, b)
(r1, r2+1)
Expand Down

0 comments on commit d5a9f51

Please sign in to comment.