Changeset 475 for library/tests

Show
Ignore:
Timestamp:
08/05/09 13:44:37 (15 years ago)
Author:
vbarta
Message:

not crashing on incorrect configuration

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/egiw_harness.cpp

    r471 r475  
    2121    CHECK(wide); 
    2222 
    23     CHECK_CLOSE_EX(lognc, wide->lognc(), get_tolerance()); 
     23    if (wide) { 
     24        CHECK_CLOSE_EX(lognc, wide->lognc(), get_tolerance()); 
     25    } 
    2426} 
    2527