/// 
import { assertEquals } from 'https://deno.land/std/testing/asserts.ts';
import { React, Fragment } from '../mod.ts';
const Title = () => 
title
;
const Value = ({ val }: { val: string }) => value: {val}
;
const Numeric = ({ num }: { num: number }) => num: {num}
;
const View = () => (
    
        
         'lol'} valid checked={true} select="">
            land
        
        
        
        
            
            
        
     
);
if (import.meta.main) {
    ().render().then(console.log);
} else {
    // Run test
    Deno.test('render title', async() => {
        assertEquals(await ().render(), 'title
');
    });
    Deno.test('render value', async() => {
        const val = 'hello';
        assertEquals(await ().render(), `value: ${val}
`);
    });
    Deno.test('render numeric', async() => {
        const num = 123;
        assertEquals(await ().render(), `num: ${num}
`);
    });
    Deno.test('render view', async() => {
        assertEquals(
            await ().render(),
            'title
land
value: hello
num: 23
 ',
        );
    });
    Deno.test('render empty', async ()=>{
        assertEquals(
            await ().render(),
            ``
        )
        assertEquals(
            await (
).render(),
            `
`
        )
    })
}