Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9501548b3b
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.349 kb
package tipi.core
import org.scalatest._
class RenderSuite extends FunSuite {
test("text") {
assert(Render(Text("abc")) === "abc")
}
test("range") {
assert(Render(Range(List(Text("a"), Text("b"), Text("c")))) === "abc")
}
test("block") {
assert(Render(Block(Id("a"), Arguments.Empty, Range(List(Text("b"))))) === "b")
}
}
Jump to Line
Something went wrong with that request. Please try again.