Show
Ignore:
Timestamp:
08/09/10 11:41:12 (21 months ago)
Author:
westram
Message:
  • header for global general purpose defines/inlines
  • use ARRAY_ELEMS where applicable
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/refactor/TOOLS/arb_probe.cxx

    r6803 r6806  
    1313#include <client.h> 
    1414#include <servercntrl.h> 
     15#include <arb_defs.h> 
    1516 
    1617struct apd_sequence { 
     
    487488} 
    488489 
    489 #define COUNT(array) sizeof(array)/sizeof(*array) 
    490  
    491490void TEST_SLOW_match_probe() { 
    492491    const char *arguments[] = { 
     
    498497        "BcSSSS00\1" "  BcSSSS00            0     0  0.0   2 0   .......UU-===============-UCAAGUCGA\1"; 
    499498 
    500     test_arb_probe(COUNT(arguments), arguments, expected); 
     499    test_arb_probe(ARRAY_ELEMS(arguments), arguments, expected); 
    501500} 
    502501 
     
    521520        "AUCAAGUCGAGCGAUGAA 18 B-     1   16    4 44.4 52.0    UUCAUCGCUCGACUUGAU |  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  1,  1,  2,  3,\n"; 
    522521 
    523     test_arb_probe(COUNT(arguments), arguments, expected); 
     522    test_arb_probe(ARRAY_ELEMS(arguments), arguments, expected); 
    524523} 
    525524 
     
    536535    "ClfPerfr\1" "  ClfPerfr            0     0  0.0  17 0   AGAGUUUGA-==================-UUUCCUUCG\1"; 
    537536 
    538     test_arb_probe(COUNT(arguments), arguments, expected); 
     537    test_arb_probe(ARRAY_ELEMS(arguments), arguments, expected); 
    539538} 
    540539