Skip to content

Commit

Permalink
Initial files
Browse files Browse the repository at this point in the history
  • Loading branch information
U-HMSLP025\harsha authored and U-HMSLP025\harsha committed Jul 17, 2011
1 parent 944589c commit 038c00c
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
Empty file added src/main/resources/dummy.xml
Empty file.
7 changes: 7 additions & 0 deletions src/main/scala/hms/dummy/project/Main.scala
@@ -0,0 +1,7 @@
package hms.dummy.project



object Main extends App {
println("Hello Scala")
}
Empty file.
17 changes: 17 additions & 0 deletions src/test/scala/hms/dummy/project/DummySpecification.scala
@@ -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
}
}

12 changes: 12 additions & 0 deletions src/test/scala/hms/dummy/project/TestAll.scala
@@ -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)
}

0 comments on commit 038c00c

Please sign in to comment.