markdown2 :: TestCase :: defaultinit
core :: Object :: class_factory
Implementation used byget_class to create the specific class.
			markdown2 :: TestCase :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself and other are the same instance (i.e. same identity).
			core :: Object :: is_same_serialized
Isself the same as other in a serialization context?
			core :: Object :: is_same_type
Return true ifself and other have the same dynamic type.
			core :: Object :: output_class_name
Display class name on stdout (debug only).
# A Nitunit test case
class TestCase
	# Test method name
	var test_name: String
	# Markdown input
	var markdown: String
	# Expected html output
	var html: String
	# Render the test case as a Nit string
	fun render: String do
		var tpl = new Template
		tpl.addn "\n\tfun {test_name} is test do"
		tpl.addn "\t\tvar md = \"\"\"{markdown}\"\"\""
		tpl.addn "\t\tvar html = \"\"\"{html}\"\"\""
		tpl.addn "\t\tassert md_to_html(md) == html"
		tpl.addn "\tend"
		return tpl.write_to_string
	end
end
					lib/markdown2/tests/commonmark_gen.nit:221,1--243,3