|
Revision 22, 0.7 kB
(checked in by baxissimo, 1 year ago)
|
Gave it a description.
|
| Line | |
|---|
| 1 |
//============================================================================ |
|---|
| 2 |
// test_main.d - Trivial main() to link in when running unittests. |
|---|
| 3 |
// |
|---|
| 4 |
// Description: |
|---|
| 5 |
// The D unittest feature is nice, but it doesn't let you easily test |
|---|
| 6 |
// a module that doesn't have a main() somewhere. |
|---|
| 7 |
// |
|---|
| 8 |
// Author: William V. Baxter III |
|---|
| 9 |
// Created: 31 Aug 2007 |
|---|
| 10 |
// Written in the D Programming Language (http://www.digitalmars.com/d) |
|---|
| 11 |
//============================================================================ |
|---|
| 12 |
// $Id:$ |
|---|
| 13 |
//============================================================================ |
|---|
| 14 |
|
|---|
| 15 |
module test_main; |
|---|
| 16 |
|
|---|
| 17 |
void main() {} |
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
//--- Emacs setup --- |
|---|
| 21 |
// Local Variables: |
|---|
| 22 |
// c-basic-offset: 4 |
|---|
| 23 |
// indent-tabs-mode: nil |
|---|
| 24 |
// End: |
|---|