fixed graphics module

This commit is contained in:
Andreas Rumpf
2010-03-03 16:58:33 +01:00
parent 6c08ba8290
commit 048811b2be
6 changed files with 2742 additions and 134 deletions

View File

@@ -1,6 +1,7 @@
t99bott.nim;20;constant expression expected
tadrdisc.nim;15;for a 'var' type a variable needs to be passed
tambsym.nim;6;ambiguous identifier
tambsym2.nim;4;undeclared identifier: 'CreateRGBSurface'
tambsym3.nim;6;ambiguous identifier
tbind2.nim;7;ambiguous call
tbind4.nim;4;instantiation from here
1 t99bott.nim 20 constant expression expected
2 tadrdisc.nim 15 for a 'var' type a variable needs to be passed
3 tambsym.nim 6 ambiguous identifier
4 tambsym2.nim 4 undeclared identifier: 'CreateRGBSurface'
5 tambsym3.nim 6 ambiguous identifier
6 tbind2.nim 7 ambiguous call
7 tbind4.nim 4 instantiation from here

View File

@@ -99,7 +99,7 @@ proc colorBool(b: bool): string =
else: result = "<span color:\"red\">no</span>"
proc `$`(r: TResults): string =
result = "<table><tr><td>Test</td><td>Expected</td>" &
result = "<table border=\"1\"><tr><td>Test</td><td>Expected</td>" &
"<td>Given</td><td>Success</td></tr>\n"
for test, expected, given, success in items(r.data):
result.add("<tr><td>$#</td><td>$#</td><td>$#</td><td>$#</td></tr>\n" % [