File: example1.m

package info (click to toggle)
gnustep-make 2.9.3-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,676 kB
  • sloc: sh: 4,577; objc: 1,031; perl: 453; makefile: 56
file content (16 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#import	"Testing.h"

/* This is the absolute minimal test program ...
 * a single test case involving plain C and no Objective-C code.
 * 
 * If you run the test with 'gnustep-tests example1.m' it should
 * report a single test pass
 */
int
main()
{
  /* This is too simple to really be useful, but it's a start.
   */
  pass(1 == 1, "integer equality works");
  return 0;
}