public
Description: The Nu programming language.
Homepage: http://programming.nu
Clone URL: git://github.com/timburks/nu.git
nu / test / test_bridgesupport.nu
100644 19 lines (13 sloc) 0.513 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;; test_bridgesupport.nu
;; tests for the Nu reader for Apple's BridgeSupport files.
;;
;; Copyright (c) 2007 Tim Burks, Neon Design Technology, Inc.
 
(if (eq (uname) "Darwin")
(import Foundation)
 
(class TestBridgeSupport is NuTestCase
     
     (imethod (id) testConstants is
          (assert_equal "NSFileBusy" NSFileBusy))
     
     (imethod (id) testEnums is
          (assert_equal 4 NSGreaterThanComparison))
     
     (imethod (id) testFunctions is
          (assert_equal 2 (NSMinY '(1 2 3 4))))))