Ignore:
Timestamp:
05/21/06 10:58:32 (9 years ago)
Author:
xi
Message:

Add doxygen support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libyaml/trunk/tests/test-version.c

    r169 r172  
    88main(void) 
    99{ 
    10     int major, minor, patch; 
     10    int major = -1; 
     11    int minor = -1; 
     12    int patch = -1; 
    1113    char buf[64]; 
    1214 
     
    1416    sprintf(buf, "%d.%d.%d", major, minor, patch); 
    1517    assert(strcmp(buf, yaml_get_version_string()) == 0); 
    16     assert(yaml_check_version(major+1, minor, patch) == 0); 
    17     assert(yaml_check_version(major, minor+1, patch) == 0); 
    18     assert(yaml_check_version(major, minor, patch+1) == 1); 
    19     assert(yaml_check_version(major, minor, patch) == 1); 
    20     assert(yaml_check_version(major, minor, patch-1) == 0); 
    2118 
    2219    return 0; 
Note: See TracChangeset for help on using the changeset viewer.