home *** CD-ROM | disk | FTP | other *** search
- //
- // StringTestComparing.m -- test out the String class' Comparing category
- // Written by Don Yacktman (c) 1994 by Don Yacktman.
- // Version 1.0. All rights reserved.
- //
- // This notice may not be removed from this source code.
- //
- // This program is included in the MiscKit by permission from the author
- // and its use is governed by the MiscKit license, found in the file
- // "LICENSE.rtf" in the MiscKit distribution. Please refer to that file
- // for a list of all applicable permissions and restrictions.
- //
-
- #define COSTRINGS 1
- void testMiscStringComparing()
- {
- id string[COSTRINGS]; int i;
- printf("***** Testing MiscStringComparing category\n");
-
- // Test MiscStringComparing.m methods:
- string[0] = [MiscString newWithString:""];
-
- for (i=0; i<COSTRINGS; i++) [string[i] free];
- }
-
-