summaryrefslogtreecommitdiff
path: root/src/main/scala/com/nsrddyn/Tests/PrimeTest.scala
blob: 4120c1debe68f59dfdece992c6b68d6e17417cb1 (plain)
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
package com.nsrddyn.Test

import com.nsrddyn.alu.Prime
import com.nsrddyn.tools.Benchmark

class PrimeTest extends Prime {

  def runBasic(): Unit = {

    val pr = new Prime()
    val br = new Benchmark()

    /*
     * test cases
     *
     * 7919 true
     * 2147483647 false
     */

    val time = pr.run(7919, true)
    println(time)

  } 

  def runExtreme(): Unit = println("running some very have stuff!")
  


}