Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.3 kb
package samples
import org.junit.Assert._
import junit.framework.TestCase
class Calculator2Test extends TestCase {
def test_ok() = assertTrue(true)
def test_basicSum() = {
val subject = new Calculator()
assertEquals(10, subject.sum(5, 5))
assertEquals(10, subject.sum(1, 9))
Jump to Line
Something went wrong with that request. Please try again.