blob: 60bb09e98f02958a9be72c25708a90c6a42f5538 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package scala.tools.nsc
import org.junit.Assert._
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
/** Sample JUnit test that shows that all pieces
of JUnit infrastructure work correctly */
@RunWith(classOf[JUnit4])
class SampleTest {
@Test
def testMath: Unit = {
assertTrue("you didn't get the math right fellow", 2 + 2 == 4)
}
}
|