This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| object Generators { | |
| /** Given as an example of how to combine 2 generators. */ | |
| val pairs: Generator[(Int, Int)] = for { | |
| x <- integers | |
| y <- integers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import scala.reflect.ClassTag | |
| class HMap[@specialized(Int, Long) K, V]( | |
| implicit val emptyKey: HMap.Empty[K], | |
| implicit val emptyVal: HMap.Empty[V] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.scalameter.api._ | |
| object MyRangeTest extends PerformanceTest.Regression { | |
| override def reporter: Reporter = Reporter.Composite( | |
| new RegressionReporter( | |
| RegressionReporter.Tester.Accepter(), | |
| RegressionReporter.Historian.Complete()), | |
| HtmlReporter(embedDsv = true) | |
| ) | |
NewerOlder