package moe.nea.blog.gen import moe.nea.blog.md.Bold import moe.nea.blog.md.FormatSequence import moe.nea.blog.md.Paragraph import moe.nea.blog.md.Whitespace import moe.nea.blog.md.Word import kotlin.test.Test class HtmlTest : HtmlGenerationTest() { @Test fun testBiggerFile() { assertGeneratorMD( """ |
lol hehe
public class ObjectControllerFactoryManagerProvider<T extends ObjectControllerFactoryManager<T>> {
| public ObjectControllerFactoryManagerProvider() {}
|}
""".trimMargin(),
"""
|# Hello World
|
|***lol* hehe**
|
|```java
|public class ObjectControllerFactoryManagerProviderTest Whatever
", Paragraph(FormatSequence(Word("Test"), Whitespace(), Bold(Word("Whatever")))) ) } }