package tests

import org.scalatest.{FlatSpec, Matchers}

class SleepInTest extends FlatSpec with Matchers {
  behavior of "SleepIn"

  it should "sleepIn when it is not a weekday and it is not a vacation" in {
    SleepInSolution.sleepIn(weekday = false, vacation = false) shouldBe true
  }

  it should "not sleepIn when it is a weekday and it is not a vacation" in {
    SleepInSolution.sleepIn(weekday = true, vacation = false) shouldBe false
  }

  it should "sleepIn when it is not a weekday and it is a vacation" in {
    SleepInSolution.sleepIn(weekday = false, vacation = true) shouldBe true
  }
}
package tests

import org.scalatest.{FlatSpec, Matchers}

//let's keep this single test in tests as it is an example fot SbtRunner test-task
class SleepInTest extends FlatSpec with Matchers {
  behavior of "SleepIn"

  it should "sleepIn when it is not a weekday and it is not a vacation" in {
    SleepInSolution.sleepIn(weekday = false, vacation = false) shouldBe true
  }

  it should "not sleepIn when it is a weekday and it is not a vacation" in {
    SleepInSolution.sleepIn(weekday = true, vacation = false) shouldBe false
  }

  it should "sleepIn when it is not a weekday and it is a vacation" in {
    SleepInSolution.sleepIn(weekday = false, vacation = true) shouldBe true
  }
}
Add more different tests: TestForTest - comment
Add more different tests: TestForTest - comment
