Skip to content

Instantly share code, notes, and snippets.

Yusuke Wada cm-wada-yusuke

Block or report user

Report or block cm-wada-yusuke

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
cm-wada-yusuke / ClosedRange.scala
Last active Aug 3, 2017
2017年8月1日(火)TDDワークショップ Scala チーム成果物 課題はこれ: ブログはこれ:
View ClosedRange.scala
package tdd
class ClosedRange(val lowerEndpoint: Int, val upperEndpoint: Int) {
if (lowerEndpoint > upperEndpoint) {
throw new IllegalArgumentException
override def toString: String = s"[$lowerEndpoint,$upperEndpoint]"
You can’t perform that action at this time.