Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions handson/src/main/scala/example/Area.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package example

/**
* Created by charlotte on 15/06/17.
*/
object Area {


Expand Down
3 changes: 0 additions & 3 deletions handson/src/main/scala/example/CurryingObject.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package example

/**
* Created by charlotte on 13/05/17.
*/
object CurryingObject {


Expand Down
3 changes: 0 additions & 3 deletions handson/src/main/scala/example/FutureType.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import scala.concurrent.Future
import scala.concurrent.duration._
import scala.util.{ Failure, Success }

/**
* Created by charlotte on 14/05/17.
*/
object FutureType {

val maxTime = Duration(10, SECONDS)
Expand Down
3 changes: 0 additions & 3 deletions handson/src/main/scala/example/Hello.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
* Created by charlotte on 01/05/17.
*/
package example

object Hello extends Greeting with App {
Expand Down
3 changes: 0 additions & 3 deletions handson/src/main/scala/example/HofSort.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package example

/**
* Created by charlotte on 13/05/17.
*/
object HofSort {

def sort(cmp: (String, String)=>Boolean, list: List[String]):List[String] ={
Expand Down
3 changes: 0 additions & 3 deletions handson/src/main/scala/example/Lamdba.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package example

/**
* Created by charlotte on 13/05/17.
*/
object Lamdba {

/**
Expand Down
3 changes: 0 additions & 3 deletions handson/src/main/scala/example/OptionType.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package example

/**
* Created by charlotte on 14/05/17.
*/
object OptionType {


Expand Down
3 changes: 0 additions & 3 deletions handson/src/main/scala/example/PureFunctionExercise.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package example

/**
* Created by charlotte on 30/05/17.
*/
object PureFunctionExercise {

// val is an immutable type of data.
Expand Down
3 changes: 0 additions & 3 deletions handson/src/main/scala/example/Recursion.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ package example

import scala.annotation.tailrec

/**
* Created by charlotte on 06/05/17.
*/
object Recursion {

/**
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/FutureTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import org.scalatest._
import scala.util.{ Failure, Success }
import scala.concurrent.ExecutionContext.Implicits.global

/**
* Created by charlotte on 14/05/17.
*/
class FutureTest extends FlatSpec with Matchers {

it should "do nothing" in {
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/FutureTest2.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.Await
import scala.concurrent.duration._

/**
* Created by charlotte on 14/05/17.
*/
class FutureTest2 extends FlatSpec with Matchers {

it should "determine if we can do a pie" in {
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/HelloTest.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package example

/**
* Created by charlotte on 01/05/17.
*/
import org.scalatest._

class HelloTest extends FlatSpec with Matchers {
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/TestComputeArea.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
* Created by charlotte on 05/05/17.
*/
package example

import org.scalatest._
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/TestCurrying.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
* Created by charlotte on 05/05/17.
*/
package example

import org.scalatest._
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/TestHof.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
* Created by charlotte on 05/05/17.
*/
package example

import org.scalatest._
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/TestHofSort.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
* Created by charlotte on 05/05/17.
*/
package example

import org.scalatest._
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/TestLambda.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ package example

import org.scalatest._

/**
* Created by charlotte on 09/05/17.
*/
class TestLambda extends FlatSpec with Matchers{
it should "be sum of x first number" in {
assert(Lamdba.sum(1)== 1)
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/TestMultiplyByTwo.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/**
* Created by charlotte on 05/05/17.
*/
package example

import org.scalatest._
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/TestOption.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ package example

import org.scalatest._

/**
* Created by charlotte on 14/05/17.
*/
class TestOption extends FlatSpec with Matchers{

it should "return a none option if divide by zero" in{
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/TestOptionPartTwo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ package example

import org.scalatest.{FlatSpec, Matchers}

/**
* Created by charlotte on 14/05/17.
*/
class TestOptionPartTwo extends FlatSpec with Matchers{

it should "return 0 if divide by zero" in{
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/TestPureFunctionNew.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ package example

import org.scalatest.{FlatSpec, Matchers}

/**
* Created by charlotte on 09/05/17.
*/
class TestPureFunctionNew extends FlatSpec with Matchers{

it should "build a complete url" in {
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/TestRecursion.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ package example

import org.scalatest.{FlatSpec, Matchers}

/**
* Created by charlotte on 09/05/17.
*/
class TestRecursion extends FlatSpec with Matchers{
it should "be the fibonnacci list" in {
System.out.println(Recursion.fibonacci(List[Int](), 25))
Expand Down
3 changes: 0 additions & 3 deletions handson/src/test/scala/example/TestTailRecursion.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ package example

import org.scalatest.{FlatSpec, Matchers}

/**
* Created by charlotte on 09/05/17.
*/
class TestTailRecursion extends FlatSpec with Matchers{
it should "be the fibonnacci list" in {
System.out.println(Recursion.tailFibonacci(25) )
Expand Down