/
Koans.scala
57 lines (53 loc) · 1.55 KB
/
Koans.scala
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package org.functionalkoans.forscala
import org.scalatest._
import support.Master
class Koans extends Suite {
override def nestedSuites = List(
new AboutAsserts,
new AboutValAndVar,
new AboutClasses,
new AboutOptions,
new AboutObjects,
new AboutTuples,
new AboutHigherOrderFunctions,
new AboutLists,
new AboutMaps,
new AboutSets,
new AboutFormatting,
new AboutPatternMatching,
new AboutCaseClasses,
new AboutRange,
new AboutPartiallyAppliedFunctions,
new AboutPartialFunctions,
new AboutImplicits,
new AboutTraits,
new AboutForExpressions,
new AboutInfixPrefixAndPostfixOperators,
new AboutInfixTypes,
new AboutMutableMaps,
new AboutMutableSets,
new AboutSequencesAndArrays,
new AboutIterables,
new AboutTraversables,
new AboutNamedAndDefaultArguments,
new AboutManifests,
new AboutPreconditions,
new AboutExtractors,
new AboutByNameParameter,
new AboutRepeatedParameters,
new AboutParentClasses,
new AboutEmptyValues,
new AboutTypeSignatures,
new AboutUniformAccessPrinciple,
new AboutLiteralBooleans,
new AboutLiteralNumbers,
new AboutLiteralStrings,
new AboutTypeVariance,
new AboutEnumerations,
new AboutConstructors
)
override def run(testName: Option[String], reporter: Reporter, stopper: Stopper, filter: Filter,
configMap: Map[String, Any], distributor: Option[Distributor], tracker: Tracker) {
super.run(testName, reporter, Master, filter, configMap, distributor, tracker)
}
}