Skip to content

Commit 6652ba6

Browse files
committed
test codemotion
1 parent 7ad9d28 commit 6652ba6

7 files changed

+13
-13
lines changed

test-out/epfl/test7-codemotion1.check

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
*******************************************/
44
class Test extends ((Unit)=>(scala.Function1[Double, scala.Function1[Double, Double]])) {
55
def apply(x0:Unit): scala.Function1[Double, scala.Function1[Double, Double]] = {
6-
val x4 = 4.0*3.0
6+
val x4 = 4.0 * 3.0
77
val x7 = {x2: (Double) =>
88
val x3 = println("yo")
9-
val x5 = x2+x4
9+
val x5 = x2 + x4
1010
x5: Double
1111
}
1212
val x8 = {x1: (Double) =>

test-out/epfl/test7-codemotion2.check

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
class Test extends ((Unit)=>(scala.Function1[Boolean, scala.Function1[Double, Double]])) {
55
def apply(x0:Unit): scala.Function1[Boolean, scala.Function1[Double, Double]] = {
66
val x3 = {x1: (Double) =>
7-
val x2 = 2.0*x1
7+
val x2 = 2.0 * x1
88
x2: Double
99
}
1010
val x8 = {x6: (Double) =>
11-
val x7 = x6+1.0
11+
val x7 = x6 + 1.0
1212
x7: Double
1313
}
1414
val x11 = {x4: (Boolean) =>

test-out/epfl/test7-codemotion3.check

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@ class Test extends ((Unit)=>(scala.Function1[Boolean, scala.Function1[Double, Do
55
def apply(x0:Unit): scala.Function1[Boolean, scala.Function1[Double, Double]] = {
66
val x7 = if (true) {
77
val x3 = {x1: (Double) =>
8-
val x2 = 2.0*x1
8+
val x2 = 2.0 * x1
99
x2: Double
1010
}
1111
x3
1212
} else {
1313
val x6 = {x4: (Double) =>
14-
val x5 = 4.0*x4
14+
val x5 = 4.0 * x4
1515
x5: Double
1616
}
1717
x6
1818
}
1919
val x19 = if (false) {
2020
val x15 = {x13: (Double) =>
21-
val x14 = x13+1.0
21+
val x14 = x13 + 1.0
2222
x14: Double
2323
}
2424
x15
2525
} else {
2626
val x18 = {x16: (Double) =>
27-
val x17 = x16+2.0
27+
val x17 = x16 + 2.0
2828
x17: Double
2929
}
3030
x18

test-out/epfl/test7-codemotion4.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Test extends ((Unit)=>(scala.Function1[Double, Unit])) {
55
def apply(x0:Unit): scala.Function1[Double, Unit] = {
66
val x7 = {x1: (Double) =>
77
val x5 = if (true) {
8-
val x2 = x1+1.0
8+
val x2 = x1 + 1.0
99
val x3 = println(x2)
1010
()
1111
} else {

test-out/epfl/test7-codemotion5.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class Test extends ((Unit)=>(Any)) {
55
def apply(x0:Unit): Any = {
66
val x6 = if (true) {
7-
val x2 = 7.0+9.0
7+
val x2 = 7.0 + 9.0
88
val x5 = {x1: (Double) =>
99
val x3 = println(x2)
1010
x3: Unit

test-out/epfl/test7-codemotion6.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class Test extends ((Unit)=>(scala.Function1[Boolean, Unit])) {
55
def apply(x0:Unit): scala.Function1[Boolean, Unit] = {
66
val x4 = if (true) {
7-
val x1 = 7.0+9.0
7+
val x1 = 7.0 + 9.0
88
val x2 = println(x1)
99
x2
1010
} else {

test-out/epfl/test7-codemotion7.check

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ def apply(x0:Unit): scala.Function1[Double, Any] = {
66
val x8 = {x1: (Double) =>
77
val x2 = x1 < 100.0
88
val x7 = if (x2) {
9-
val x3 = x1+9.0
9+
val x3 = x1 + 9.0
1010
val x6 = {x4: (Double) =>
11-
val x5 = x3+x4
11+
val x5 = x3 + x4
1212
x5: Double
1313
}
1414
x6

0 commit comments

Comments
 (0)