Skip to content

Instantly share code, notes, and snippets.

View roberttaylor426's full-sized avatar

Robert Taylor roberttaylor426

  • Green Build Code
  • London
View GitHub Profile
@roberttaylor426
roberttaylor426 / ListTest.kt
Created March 6, 2020 07:50
Edenbridge Coders March 5th
import arrow.core.None
import arrow.core.Option
import arrow.core.Some
import org.junit.Test
class ListTest {
@Test
fun `a new list should be empty`() {
assert(length(createNewList()) == 0)
}