Let's say that we've got two files: our application code and our test code that are in the same package. Our application code looks like this:
object Functions {
def cracklePop(a: Int): String = {
(a % 3, a % 5) match {
case (0, 0) => "CracklePop"
case (0, _) => "Crackle"
case (_, 0) => "Pop"
case (_, _) => s"$a"