Changeset 918


Ignore:
Timestamp:
Sep 30, 2007, 3:32:44 AM (14 years ago)
Author:
Peter
Message:

modifing tests to fit new implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/utility_test.cc

    r865 r918  
    7777  // test nan
    7878  s=" nAn  ";
    79   if (utility::is_double(s)){
     79  if (!utility::is_double(s)){
    8080    ok=false;
    8181  }
    82   else if (utility::is_float(s)) {
     82  else if (!utility::is_float(s)) {
    8383    ok=false;
    8484  }
    85   else if (utility::is_int(s)) {
     85  else if (!utility::is_int(s)) {
    8686    ok=false;
    8787  }
Note: See TracChangeset for help on using the changeset viewer.