- 実行してみないとわからない - テストの実行時でトラブル - ScalaTest、munitで上手く動かなかった - とりあえず公式ドキュメントで言及されてるJUnitを使うのが無難かも? - エラーが発生した時にUnknown Sourceだらけで辛い - (単に準備不足すぎるだけかも...) Exception in thread "main"java.lang.NumberFormatException: For input string: "" at java.lang.Integer$.fail(Unknown Source) at java.lang.Integer$.parseInt(Unknown Source) at java.lang.Integer$.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at scala.collection.StringOps$.toInt$extension(Unknown Source) at Main$.$anonfun$2$$anonfun$1(Unknown Source) at Main$$$Lambda$4.apply(Unknown Source) at scala.collection.ArrayOps$.map$extension(Unknown Source) at Main$.$anonfun$2(Unknown Source) at Main$$$Lambda$2.apply$mcII$sp(Unknown Source) at scala.runtime.java8.JFunction1$mcII$sp.apply(Unknown Source) at scala.collection.StrictOptimizedIterableOps.strictOptimizedMap(Unknown Source) at scala.collection.immutable.Range.strictOptimizedMap(Unknown Source) at scala.collection.StrictOptimizedIterableOps.map(Unknown Source) at scala.collection.immutable.Range.map(Unknown Source) at Main$.main(Unknown Source) at Main.main(Unknown Source) at <none>.main(Unknown Source)