Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 737 Bytes

README.md

File metadata and controls

34 lines (18 loc) · 737 Bytes

Overview

An implementation of simple trapezoidal integration in Scala.

Prerequisites

  • Java Development Kit (JDK) through your package management system or from Oracle
  • sbt

These really are the only required prerequisites.

Command-line

Running the sample application

During development:

$ sbt 'run rectangles (>= 1000) numberOfRuns (>= 1)'

During production, first create the startup script:

$ sbt stage

Then run the application outside of sbt like this:

$ ./target/universal/stage/bin/integration-scala rectangles (>= 1000) numberOfRuns (>= 1)

Running the tests

$ sbt test:test

or simply

$ sbt test