This is a from scratch implementation of two Scala problems I undertook to better understand the language. I had no prior experience using Scala before this, and thus made extensive use of documentation. I built two files: CruisePricing.scala and PromotionCombinations.scala to test the functional and OOP aspects of the language. It utilizes first-class and higher-order functions, SBT, lambdas, and more functional capabilities.
I also built unit tests to run from the SBT shell. All test cases based on provided data are passed. The main functions work as intended.
To run the main functions, use the following terminal commands in the root dir
sbt
compile
runMain CruisePricing
runMain PromotionCombinations
To run test cases, use the following commands in root dir
sbt
compile
test