Addictive Software


var me = Random.shuffle(List("Developer", "Cook", "Geek", "Musiclover", "Engineer"))


Tag: code-coverage


  1. Code coverage in scala

    Most code coverage tools check lines of codes and branches (which part of the if/then/else is covered) For scala this is not a very useful metric, i'll let the following example speak for itself Players.filter(_.active == true).sortBy(- _.score).take(5) .foreach(p => println(s"…

    dev, scala, code-coverage