blob: 810c88ef9d174702dbdb8a4714c180db75559fff (
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 = {
assert(2+2 == 4, "you didn't get the math right fellow")
}
}
|