Skip to content

Commit 103d823

Browse files
committed
Added test to validate #10.
1 parent 445d264 commit 103d823

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

shared/src/test/scala/specs/DepsSpec.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,13 @@ class DepsSpec extends WordSpec with Matchers {
207207
right() should be(550.0)
208208
leftValue should be(450.0)
209209
}
210+
"increment center from itself" in {
211+
center := center() + 10.0
212+
center() should be(510.0)
213+
left() should be(460.0)
214+
right() should be(560.0)
215+
leftValue should be(460.0)
216+
}
210217
}
211218
}
212219
}

0 commit comments

Comments
 (0)