This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Automating https://blog.dekstroza.io/ulimit-shenanigans-on-osx-el-capitan/ | |
| echo "Updating the ulimits on OSX to be able to run RHAMT tests." | |
| sudo bash -c 'cat >/Library/LaunchDaemons/limit.maxfiles.plist <<EOF | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.junit.runner.RunWith | |
| import org.scalatest.junit.JUnitRunner | |
| import org.scalatest.FunSuite | |
| @RunWith(classOf[JUnitRunner]) | |
| class GameOfLifeTest extends FunSuite { | |
| type Rules = ((Int, Int, Int)) => Int | |
| case class TheRules(rules: List[Int]) extends Rules { |