Differences From Artifact [36044e05d28ff416]:
- File
main.d
- 2010-11-08 11:45:45 - part of checkin [b11090f441] on branch trunk - Pretty Printing of unittest success (user: kinaba) [annotate]
To Artifact [e01d02a22ae40e90]:
- File
main.d
- 2010-11-08 11:57:48 - part of checkin [077506b38c] on branch trunk - Generic toString utility added. (user: kinaba) [annotate]
3 * License: NYSL 0.9982 (http://www.kmonos.net/nysl/ 3 * License: NYSL 0.9982 (http://www.kmonos.net/nysl/
4 * 4 *
5 * Entry point for Polemy interpreter. 5 * Entry point for Polemy interpreter.
6 */ 6 */
7 7
8 import std.stdio; 8 import std.stdio;
9 import polemy.eval; 9 import polemy.eval;
> 10
> 11 version(unittest) static ~this()
> 12 {
> 13 writeln( "***********************" );
> 14 writeln( "* All Tests Passed <3 *" );
> 15 writeln( "*********************** (Press Enter to finish)" );
> 16 readln();
> 17 }
10 18
11 void main( string[] args ) 19 void main( string[] args )
12 { 20 {
13 version(unittest) <
14 { <
15 writeln( "***********************" ); <
16 writeln( "* All Tests Passed <3 *" ); <
17 writeln( "*********************** (Press Enter to finish)" ); <
18 readln(); <
19 return; <
20 } <
21 } 21 }