Skip to content

Instantly share code, notes, and snippets.

@yukinagae
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save yukinagae/074eb5c9dad472bd1382 to your computer and use it in GitHub Desktop.

Select an option

Save yukinagae/074eb5c9dad472bd1382 to your computer and use it in GitHub Desktop.
【STEP5】デバッグ(eclipse) : Scalaでコードを書く ref: http://qiita.com/yukinagae/items/50dc53273887da5fd3ad
import org.scalatest._
import org.scalatest.matchers.ShouldMatchers
class HelloSpec extends FlatSpec with ShouldMatchers {
"Hello" should "have tests" in {
var result = 1 + 1
println(result)
result should be === 2
}
}
object Main {
def main(args: Array[String]) {
var a = 1
println(a)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment