Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
U-HMSLP025\harsha
authored and
U-HMSLP025\harsha
committed
Jul 17, 2011
1 parent
944589c
commit 038c00c
Showing
5 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package hms.dummy.project | ||
|
||
|
||
|
||
object Main extends App { | ||
println("Hello Scala") | ||
} |
Empty file.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package hms.dummy.project | ||
|
||
import org.scalacheck._ | ||
import Gen._ | ||
import Prop._ | ||
import Test._ | ||
import Arbitrary._ | ||
import collection.mutable.ListBuffer | ||
|
||
object DummySpecification extends Properties("Dummy") { | ||
|
||
property("dummy") = forAll { | ||
(l1: List[Int], l2: List[Int]) => | ||
l1.size + l2.size == (l1 ::: l2).size | ||
} | ||
} | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package hms.dummy.project | ||
|
||
import org.scalacheck.Properties | ||
|
||
|
||
object TestAll { | ||
object ScalaCheckSpecification extends Properties("DummyPorject") { | ||
include(DummySpecification) | ||
} | ||
|
||
def main(args: Array[String]) = ScalaCheckSpecification.main(args) | ||
} |