Changeset e7eb1f0


Ignore:
Timestamp:
Jan 4, 2024, 12:09:16 PM (12 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
ca2feff
Parents:
e0cc9e0
Message:

update string testing and expected output

Location:
tests/collections
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/collections/.expect/string-compare.txt

    re0cc9e0 re7eb1f0  
    11------- string -------
    2 (cmp(s_, s_) == 0) ok
     2(strcmp(s_, s_) == 0) ok
    33(s_ == s_) ok
    44!(s_ != s_) ok
     
    77(s_ <= s_) ok
    88!(s_ < s_) ok
    9 (cmp("", s_) == 0) ok
     9(strcmp("", s_) == 0) ok
    1010("" == s_) ok
    1111!("" != s_) ok
     
    1414("" <= s_) ok
    1515!("" < s_) ok
    16 (cmp(s_, "") == 0) ok
     16(strcmp(s_, "") == 0) ok
    1717(s_ == "") ok
    1818!(s_ != "") ok
     
    2121(s_ <= "") ok
    2222!(s_ < "") ok
    23 (cmp(s_, s_a) < 0) ok
     23(strcmp(s_, s_a) < 0) ok
    2424!(s_ == s_a) ok
    2525(s_ != s_a) ok
     
    2828(s_ <= s_a) ok
    2929(s_ < s_a) ok
    30 (cmp("", s_a) < 0) ok
     30(strcmp("", s_a) < 0) ok
    3131!("" == s_a) ok
    3232("" != s_a) ok
     
    3535("" <= s_a) ok
    3636("" < s_a) ok
    37 (cmp(s_, "a") < 0) ok
     37(strcmp(s_, "a") < 0) ok
    3838!(s_ == "a") ok
    3939(s_ != "a") ok
     
    4242(s_ <= "a") ok
    4343(s_ < "a") ok
    44 (cmp(s_a, s_) > 0) ok
     44(strcmp(s_a, s_) > 0) ok
    4545!(s_a == s_) ok
    4646(s_a != s_) ok
     
    4949!(s_a <= s_) ok
    5050!(s_a < s_) ok
    51 (cmp("a", s_) > 0) ok
     51(strcmp("a", s_) > 0) ok
    5252!("a" == s_) ok
    5353("a" != s_) ok
     
    5656!("a" <= s_) ok
    5757!("a" < s_) ok
    58 (cmp(s_a, "") > 0) ok
     58(strcmp(s_a, "") > 0) ok
    5959!(s_a == "") ok
    6060(s_a != "") ok
     
    6363!(s_a <= "") ok
    6464!(s_a < "") ok
    65 (cmp(s_, s_aa) < 0) ok
     65(strcmp(s_, s_aa) < 0) ok
    6666!(s_ == s_aa) ok
    6767(s_ != s_aa) ok
     
    7070(s_ <= s_aa) ok
    7171(s_ < s_aa) ok
    72 (cmp("", s_aa) < 0) ok
     72(strcmp("", s_aa) < 0) ok
    7373!("" == s_aa) ok
    7474("" != s_aa) ok
     
    7777("" <= s_aa) ok
    7878("" < s_aa) ok
    79 (cmp(s_, "aa") < 0) ok
     79(strcmp(s_, "aa") < 0) ok
    8080!(s_ == "aa") ok
    8181(s_ != "aa") ok
     
    8484(s_ <= "aa") ok
    8585(s_ < "aa") ok
    86 (cmp(s_aa, s_) > 0) ok
     86(strcmp(s_aa, s_) > 0) ok
    8787!(s_aa == s_) ok
    8888(s_aa != s_) ok
     
    9191!(s_aa <= s_) ok
    9292!(s_aa < s_) ok
    93 (cmp("aa", s_) > 0) ok
     93(strcmp("aa", s_) > 0) ok
    9494!("aa" == s_) ok
    9595("aa" != s_) ok
     
    9898!("aa" <= s_) ok
    9999!("aa" < s_) ok
    100 (cmp(s_aa, "") > 0) ok
     100(strcmp(s_aa, "") > 0) ok
    101101!(s_aa == "") ok
    102102(s_aa != "") ok
     
    105105!(s_aa <= "") ok
    106106!(s_aa < "") ok
    107 (cmp(s_a, s_aa) < 0) ok
     107(strcmp(s_a, s_aa) < 0) ok
    108108!(s_a == s_aa) ok
    109109(s_a != s_aa) ok
     
    112112(s_a <= s_aa) ok
    113113(s_a < s_aa) ok
    114 (cmp("a", s_aa) < 0) ok
     114(strcmp("a", s_aa) < 0) ok
    115115!("a" == s_aa) ok
    116116("a" != s_aa) ok
     
    119119("a" <= s_aa) ok
    120120("a" < s_aa) ok
    121 (cmp(s_a, "aa") < 0) ok
     121(strcmp(s_a, "aa") < 0) ok
    122122!(s_a == "aa") ok
    123123(s_a != "aa") ok
     
    126126(s_a <= "aa") ok
    127127(s_a < "aa") ok
    128 (cmp(s_aa, s_a) > 0) ok
     128(strcmp(s_aa, s_a) > 0) ok
    129129!(s_aa == s_a) ok
    130130(s_aa != s_a) ok
     
    133133!(s_aa <= s_a) ok
    134134!(s_aa < s_a) ok
    135 (cmp("aa", s_a) > 0) ok
     135(strcmp("aa", s_a) > 0) ok
    136136!("aa" == s_a) ok
    137137("aa" != s_a) ok
     
    140140!("aa" <= s_a) ok
    141141!("aa" < s_a) ok
    142 (cmp(s_aa, "a") > 0) ok
     142(strcmp(s_aa, "a") > 0) ok
    143143!(s_aa == "a") ok
    144144(s_aa != "a") ok
     
    147147!(s_aa <= "a") ok
    148148!(s_aa < "a") ok
    149 (cmp(s_a, s_a) == 0) ok
     149(strcmp(s_a, s_a) == 0) ok
    150150(s_a == s_a) ok
    151151!(s_a != s_a) ok
     
    154154(s_a <= s_a) ok
    155155!(s_a < s_a) ok
    156 (cmp("a", s_a) == 0) ok
     156(strcmp("a", s_a) == 0) ok
    157157("a" == s_a) ok
    158158!("a" != s_a) ok
     
    161161("a" <= s_a) ok
    162162!("a" < s_a) ok
    163 (cmp(s_a, "a") == 0) ok
     163(strcmp(s_a, "a") == 0) ok
    164164(s_a == "a") ok
    165165!(s_a != "a") ok
     
    168168(s_a <= "a") ok
    169169!(s_a < "a") ok
    170 (cmp(s_aa, s_aa) == 0) ok
     170(strcmp(s_aa, s_aa) == 0) ok
    171171(s_aa == s_aa) ok
    172172!(s_aa != s_aa) ok
     
    175175(s_aa <= s_aa) ok
    176176!(s_aa < s_aa) ok
    177 (cmp("aa", s_aa) == 0) ok
     177(strcmp("aa", s_aa) == 0) ok
    178178("aa" == s_aa) ok
    179179!("aa" != s_aa) ok
     
    182182("aa" <= s_aa) ok
    183183!("aa" < s_aa) ok
    184 (cmp(s_aa, "aa") == 0) ok
     184(strcmp(s_aa, "aa") == 0) ok
    185185(s_aa == "aa") ok
    186186!(s_aa != "aa") ok
     
    189189(s_aa <= "aa") ok
    190190!(s_aa < "aa") ok
    191 (cmp(s_a, s_b) < 0) ok
     191(strcmp(s_a, s_b) < 0) ok
    192192!(s_a == s_b) ok
    193193(s_a != s_b) ok
     
    196196(s_a <= s_b) ok
    197197(s_a < s_b) ok
    198 (cmp("a", s_b) < 0) ok
     198(strcmp("a", s_b) < 0) ok
    199199!("a" == s_b) ok
    200200("a" != s_b) ok
     
    203203("a" <= s_b) ok
    204204("a" < s_b) ok
    205 (cmp(s_a, "b") < 0) ok
     205(strcmp(s_a, "b") < 0) ok
    206206!(s_a == "b") ok
    207207(s_a != "b") ok
     
    210210(s_a <= "b") ok
    211211(s_a < "b") ok
    212 (cmp(s_b, s_a) > 0) ok
     212(strcmp(s_b, s_a) > 0) ok
    213213!(s_b == s_a) ok
    214214(s_b != s_a) ok
     
    217217!(s_b <= s_a) ok
    218218!(s_b < s_a) ok
    219 (cmp("b", s_a) > 0) ok
     219(strcmp("b", s_a) > 0) ok
    220220!("b" == s_a) ok
    221221("b" != s_a) ok
     
    224224!("b" <= s_a) ok
    225225!("b" < s_a) ok
    226 (cmp(s_b, "a") > 0) ok
     226(strcmp(s_b, "a") > 0) ok
    227227!(s_b == "a") ok
    228228(s_b != "a") ok
     
    231231!(s_b <= "a") ok
    232232!(s_b < "a") ok
    233 (cmp(s_a, s_ba) < 0) ok
     233(strcmp(s_a, s_ba) < 0) ok
    234234!(s_a == s_ba) ok
    235235(s_a != s_ba) ok
     
    238238(s_a <= s_ba) ok
    239239(s_a < s_ba) ok
    240 (cmp("a", s_ba) < 0) ok
     240(strcmp("a", s_ba) < 0) ok
    241241!("a" == s_ba) ok
    242242("a" != s_ba) ok
     
    245245("a" <= s_ba) ok
    246246("a" < s_ba) ok
    247 (cmp(s_a, "ba") < 0) ok
     247(strcmp(s_a, "ba") < 0) ok
    248248!(s_a == "ba") ok
    249249(s_a != "ba") ok
     
    252252(s_a <= "ba") ok
    253253(s_a < "ba") ok
    254 (cmp(s_ba, s_a) > 0) ok
     254(strcmp(s_ba, s_a) > 0) ok
    255255!(s_ba == s_a) ok
    256256(s_ba != s_a) ok
     
    259259!(s_ba <= s_a) ok
    260260!(s_ba < s_a) ok
    261 (cmp("ba", s_a) > 0) ok
     261(strcmp("ba", s_a) > 0) ok
    262262!("ba" == s_a) ok
    263263("ba" != s_a) ok
     
    266266!("ba" <= s_a) ok
    267267!("ba" < s_a) ok
    268 (cmp(s_ba, "a") > 0) ok
     268(strcmp(s_ba, "a") > 0) ok
    269269!(s_ba == "a") ok
    270270(s_ba != "a") ok
     
    273273!(s_ba <= "a") ok
    274274!(s_ba < "a") ok
    275 (cmp(s_aa, s_ab) < 0) ok
     275(strcmp(s_aa, s_ab) < 0) ok
    276276!(s_aa == s_ab) ok
    277277(s_aa != s_ab) ok
     
    280280(s_aa <= s_ab) ok
    281281(s_aa < s_ab) ok
    282 (cmp("aa", s_ab) < 0) ok
     282(strcmp("aa", s_ab) < 0) ok
    283283!("aa" == s_ab) ok
    284284("aa" != s_ab) ok
     
    287287("aa" <= s_ab) ok
    288288("aa" < s_ab) ok
    289 (cmp(s_aa, "ab") < 0) ok
     289(strcmp(s_aa, "ab") < 0) ok
    290290!(s_aa == "ab") ok
    291291(s_aa != "ab") ok
     
    294294(s_aa <= "ab") ok
    295295(s_aa < "ab") ok
    296 (cmp(s_ab, s_aa) > 0) ok
     296(strcmp(s_ab, s_aa) > 0) ok
    297297!(s_ab == s_aa) ok
    298298(s_ab != s_aa) ok
     
    301301!(s_ab <= s_aa) ok
    302302!(s_ab < s_aa) ok
    303 (cmp("ab", s_aa) > 0) ok
     303(strcmp("ab", s_aa) > 0) ok
    304304!("ab" == s_aa) ok
    305305("ab" != s_aa) ok
     
    308308!("ab" <= s_aa) ok
    309309!("ab" < s_aa) ok
    310 (cmp(s_ab, "aa") > 0) ok
     310(strcmp(s_ab, "aa") > 0) ok
    311311!(s_ab == "aa") ok
    312312(s_ab != "aa") ok
     
    315315!(s_ab <= "aa") ok
    316316!(s_ab < "aa") ok
    317 (cmp(s_ba, s_bb) < 0) ok
     317(strcmp(s_ba, s_bb) < 0) ok
    318318!(s_ba == s_bb) ok
    319319(s_ba != s_bb) ok
     
    322322(s_ba <= s_bb) ok
    323323(s_ba < s_bb) ok
    324 (cmp("ba", s_bb) < 0) ok
     324(strcmp("ba", s_bb) < 0) ok
    325325!("ba" == s_bb) ok
    326326("ba" != s_bb) ok
     
    329329("ba" <= s_bb) ok
    330330("ba" < s_bb) ok
    331 (cmp(s_ba, "bb") < 0) ok
     331(strcmp(s_ba, "bb") < 0) ok
    332332!(s_ba == "bb") ok
    333333(s_ba != "bb") ok
     
    336336(s_ba <= "bb") ok
    337337(s_ba < "bb") ok
    338 (cmp(s_bb, s_ba) > 0) ok
     338(strcmp(s_bb, s_ba) > 0) ok
    339339!(s_bb == s_ba) ok
    340340(s_bb != s_ba) ok
     
    343343!(s_bb <= s_ba) ok
    344344!(s_bb < s_ba) ok
    345 (cmp("bb", s_ba) > 0) ok
     345(strcmp("bb", s_ba) > 0) ok
    346346!("bb" == s_ba) ok
    347347("bb" != s_ba) ok
     
    350350!("bb" <= s_ba) ok
    351351!("bb" < s_ba) ok
    352 (cmp(s_bb, "ba") > 0) ok
     352(strcmp(s_bb, "ba") > 0) ok
    353353!(s_bb == "ba") ok
    354354(s_bb != "ba") ok
     
    357357!(s_bb <= "ba") ok
    358358!(s_bb < "ba") ok
    359 (cmp(s_aa, s_b) < 0) ok
     359(strcmp(s_aa, s_b) < 0) ok
    360360!(s_aa == s_b) ok
    361361(s_aa != s_b) ok
     
    364364(s_aa <= s_b) ok
    365365(s_aa < s_b) ok
    366 (cmp("aa", s_b) < 0) ok
     366(strcmp("aa", s_b) < 0) ok
    367367!("aa" == s_b) ok
    368368("aa" != s_b) ok
     
    371371("aa" <= s_b) ok
    372372("aa" < s_b) ok
    373 (cmp(s_aa, "b") < 0) ok
     373(strcmp(s_aa, "b") < 0) ok
    374374!(s_aa == "b") ok
    375375(s_aa != "b") ok
     
    378378(s_aa <= "b") ok
    379379(s_aa < "b") ok
    380 (cmp(s_b, s_aa) > 0) ok
     380(strcmp(s_b, s_aa) > 0) ok
    381381!(s_b == s_aa) ok
    382382(s_b != s_aa) ok
     
    385385!(s_b <= s_aa) ok
    386386!(s_b < s_aa) ok
    387 (cmp("b", s_aa) > 0) ok
     387(strcmp("b", s_aa) > 0) ok
    388388!("b" == s_aa) ok
    389389("b" != s_aa) ok
     
    392392!("b" <= s_aa) ok
    393393!("b" < s_aa) ok
    394 (cmp(s_b, "aa") > 0) ok
     394(strcmp(s_b, "aa") > 0) ok
    395395!(s_b == "aa") ok
    396396(s_b != "aa") ok
     
    400400!(s_b < "aa") ok
    401401------- string_res -------
    402 (cmp(s_, s_) == 0) ok
     402(strcmp(s_, s_) == 0) ok
    403403(s_ == s_) ok
    404404!(s_ != s_) ok
     
    407407(s_ <= s_) ok
    408408!(s_ < s_) ok
    409 (cmp("", s_) == 0) ok
     409(strcmp("", s_) == 0) ok
    410410("" == s_) ok
    411411!("" != s_) ok
     
    414414("" <= s_) ok
    415415!("" < s_) ok
    416 (cmp(s_, "") == 0) ok
     416(strcmp(s_, "") == 0) ok
    417417(s_ == "") ok
    418418!(s_ != "") ok
     
    421421(s_ <= "") ok
    422422!(s_ < "") ok
    423 (cmp(s_, s_a) < 0) ok
     423(strcmp(s_, s_a) < 0) ok
    424424!(s_ == s_a) ok
    425425(s_ != s_a) ok
     
    428428(s_ <= s_a) ok
    429429(s_ < s_a) ok
    430 (cmp("", s_a) < 0) ok
     430(strcmp("", s_a) < 0) ok
    431431!("" == s_a) ok
    432432("" != s_a) ok
     
    435435("" <= s_a) ok
    436436("" < s_a) ok
    437 (cmp(s_, "a") < 0) ok
     437(strcmp(s_, "a") < 0) ok
    438438!(s_ == "a") ok
    439439(s_ != "a") ok
     
    442442(s_ <= "a") ok
    443443(s_ < "a") ok
    444 (cmp(s_a, s_) > 0) ok
     444(strcmp(s_a, s_) > 0) ok
    445445!(s_a == s_) ok
    446446(s_a != s_) ok
     
    449449!(s_a <= s_) ok
    450450!(s_a < s_) ok
    451 (cmp("a", s_) > 0) ok
     451(strcmp("a", s_) > 0) ok
    452452!("a" == s_) ok
    453453("a" != s_) ok
     
    456456!("a" <= s_) ok
    457457!("a" < s_) ok
    458 (cmp(s_a, "") > 0) ok
     458(strcmp(s_a, "") > 0) ok
    459459!(s_a == "") ok
    460460(s_a != "") ok
     
    463463!(s_a <= "") ok
    464464!(s_a < "") ok
    465 (cmp(s_, s_aa) < 0) ok
     465(strcmp(s_, s_aa) < 0) ok
    466466!(s_ == s_aa) ok
    467467(s_ != s_aa) ok
     
    470470(s_ <= s_aa) ok
    471471(s_ < s_aa) ok
    472 (cmp("", s_aa) < 0) ok
     472(strcmp("", s_aa) < 0) ok
    473473!("" == s_aa) ok
    474474("" != s_aa) ok
     
    477477("" <= s_aa) ok
    478478("" < s_aa) ok
    479 (cmp(s_, "aa") < 0) ok
     479(strcmp(s_, "aa") < 0) ok
    480480!(s_ == "aa") ok
    481481(s_ != "aa") ok
     
    484484(s_ <= "aa") ok
    485485(s_ < "aa") ok
    486 (cmp(s_aa, s_) > 0) ok
     486(strcmp(s_aa, s_) > 0) ok
    487487!(s_aa == s_) ok
    488488(s_aa != s_) ok
     
    491491!(s_aa <= s_) ok
    492492!(s_aa < s_) ok
    493 (cmp("aa", s_) > 0) ok
     493(strcmp("aa", s_) > 0) ok
    494494!("aa" == s_) ok
    495495("aa" != s_) ok
     
    498498!("aa" <= s_) ok
    499499!("aa" < s_) ok
    500 (cmp(s_aa, "") > 0) ok
     500(strcmp(s_aa, "") > 0) ok
    501501!(s_aa == "") ok
    502502(s_aa != "") ok
     
    505505!(s_aa <= "") ok
    506506!(s_aa < "") ok
    507 (cmp(s_a, s_aa) < 0) ok
     507(strcmp(s_a, s_aa) < 0) ok
    508508!(s_a == s_aa) ok
    509509(s_a != s_aa) ok
     
    512512(s_a <= s_aa) ok
    513513(s_a < s_aa) ok
    514 (cmp("a", s_aa) < 0) ok
     514(strcmp("a", s_aa) < 0) ok
    515515!("a" == s_aa) ok
    516516("a" != s_aa) ok
     
    519519("a" <= s_aa) ok
    520520("a" < s_aa) ok
    521 (cmp(s_a, "aa") < 0) ok
     521(strcmp(s_a, "aa") < 0) ok
    522522!(s_a == "aa") ok
    523523(s_a != "aa") ok
     
    526526(s_a <= "aa") ok
    527527(s_a < "aa") ok
    528 (cmp(s_aa, s_a) > 0) ok
     528(strcmp(s_aa, s_a) > 0) ok
    529529!(s_aa == s_a) ok
    530530(s_aa != s_a) ok
     
    533533!(s_aa <= s_a) ok
    534534!(s_aa < s_a) ok
    535 (cmp("aa", s_a) > 0) ok
     535(strcmp("aa", s_a) > 0) ok
    536536!("aa" == s_a) ok
    537537("aa" != s_a) ok
     
    540540!("aa" <= s_a) ok
    541541!("aa" < s_a) ok
    542 (cmp(s_aa, "a") > 0) ok
     542(strcmp(s_aa, "a") > 0) ok
    543543!(s_aa == "a") ok
    544544(s_aa != "a") ok
     
    547547!(s_aa <= "a") ok
    548548!(s_aa < "a") ok
    549 (cmp(s_a, s_a) == 0) ok
     549(strcmp(s_a, s_a) == 0) ok
    550550(s_a == s_a) ok
    551551!(s_a != s_a) ok
     
    554554(s_a <= s_a) ok
    555555!(s_a < s_a) ok
    556 (cmp("a", s_a) == 0) ok
     556(strcmp("a", s_a) == 0) ok
    557557("a" == s_a) ok
    558558!("a" != s_a) ok
     
    561561("a" <= s_a) ok
    562562!("a" < s_a) ok
    563 (cmp(s_a, "a") == 0) ok
     563(strcmp(s_a, "a") == 0) ok
    564564(s_a == "a") ok
    565565!(s_a != "a") ok
     
    568568(s_a <= "a") ok
    569569!(s_a < "a") ok
    570 (cmp(s_aa, s_aa) == 0) ok
     570(strcmp(s_aa, s_aa) == 0) ok
    571571(s_aa == s_aa) ok
    572572!(s_aa != s_aa) ok
     
    575575(s_aa <= s_aa) ok
    576576!(s_aa < s_aa) ok
    577 (cmp("aa", s_aa) == 0) ok
     577(strcmp("aa", s_aa) == 0) ok
    578578("aa" == s_aa) ok
    579579!("aa" != s_aa) ok
     
    582582("aa" <= s_aa) ok
    583583!("aa" < s_aa) ok
    584 (cmp(s_aa, "aa") == 0) ok
     584(strcmp(s_aa, "aa") == 0) ok
    585585(s_aa == "aa") ok
    586586!(s_aa != "aa") ok
     
    589589(s_aa <= "aa") ok
    590590!(s_aa < "aa") ok
    591 (cmp(s_a, s_b) < 0) ok
     591(strcmp(s_a, s_b) < 0) ok
    592592!(s_a == s_b) ok
    593593(s_a != s_b) ok
     
    596596(s_a <= s_b) ok
    597597(s_a < s_b) ok
    598 (cmp("a", s_b) < 0) ok
     598(strcmp("a", s_b) < 0) ok
    599599!("a" == s_b) ok
    600600("a" != s_b) ok
     
    603603("a" <= s_b) ok
    604604("a" < s_b) ok
    605 (cmp(s_a, "b") < 0) ok
     605(strcmp(s_a, "b") < 0) ok
    606606!(s_a == "b") ok
    607607(s_a != "b") ok
     
    610610(s_a <= "b") ok
    611611(s_a < "b") ok
    612 (cmp(s_b, s_a) > 0) ok
     612(strcmp(s_b, s_a) > 0) ok
    613613!(s_b == s_a) ok
    614614(s_b != s_a) ok
     
    617617!(s_b <= s_a) ok
    618618!(s_b < s_a) ok
    619 (cmp("b", s_a) > 0) ok
     619(strcmp("b", s_a) > 0) ok
    620620!("b" == s_a) ok
    621621("b" != s_a) ok
     
    624624!("b" <= s_a) ok
    625625!("b" < s_a) ok
    626 (cmp(s_b, "a") > 0) ok
     626(strcmp(s_b, "a") > 0) ok
    627627!(s_b == "a") ok
    628628(s_b != "a") ok
     
    631631!(s_b <= "a") ok
    632632!(s_b < "a") ok
    633 (cmp(s_a, s_ba) < 0) ok
     633(strcmp(s_a, s_ba) < 0) ok
    634634!(s_a == s_ba) ok
    635635(s_a != s_ba) ok
     
    638638(s_a <= s_ba) ok
    639639(s_a < s_ba) ok
    640 (cmp("a", s_ba) < 0) ok
     640(strcmp("a", s_ba) < 0) ok
    641641!("a" == s_ba) ok
    642642("a" != s_ba) ok
     
    645645("a" <= s_ba) ok
    646646("a" < s_ba) ok
    647 (cmp(s_a, "ba") < 0) ok
     647(strcmp(s_a, "ba") < 0) ok
    648648!(s_a == "ba") ok
    649649(s_a != "ba") ok
     
    652652(s_a <= "ba") ok
    653653(s_a < "ba") ok
    654 (cmp(s_ba, s_a) > 0) ok
     654(strcmp(s_ba, s_a) > 0) ok
    655655!(s_ba == s_a) ok
    656656(s_ba != s_a) ok
     
    659659!(s_ba <= s_a) ok
    660660!(s_ba < s_a) ok
    661 (cmp("ba", s_a) > 0) ok
     661(strcmp("ba", s_a) > 0) ok
    662662!("ba" == s_a) ok
    663663("ba" != s_a) ok
     
    666666!("ba" <= s_a) ok
    667667!("ba" < s_a) ok
    668 (cmp(s_ba, "a") > 0) ok
     668(strcmp(s_ba, "a") > 0) ok
    669669!(s_ba == "a") ok
    670670(s_ba != "a") ok
     
    673673!(s_ba <= "a") ok
    674674!(s_ba < "a") ok
    675 (cmp(s_aa, s_ab) < 0) ok
     675(strcmp(s_aa, s_ab) < 0) ok
    676676!(s_aa == s_ab) ok
    677677(s_aa != s_ab) ok
     
    680680(s_aa <= s_ab) ok
    681681(s_aa < s_ab) ok
    682 (cmp("aa", s_ab) < 0) ok
     682(strcmp("aa", s_ab) < 0) ok
    683683!("aa" == s_ab) ok
    684684("aa" != s_ab) ok
     
    687687("aa" <= s_ab) ok
    688688("aa" < s_ab) ok
    689 (cmp(s_aa, "ab") < 0) ok
     689(strcmp(s_aa, "ab") < 0) ok
    690690!(s_aa == "ab") ok
    691691(s_aa != "ab") ok
     
    694694(s_aa <= "ab") ok
    695695(s_aa < "ab") ok
    696 (cmp(s_ab, s_aa) > 0) ok
     696(strcmp(s_ab, s_aa) > 0) ok
    697697!(s_ab == s_aa) ok
    698698(s_ab != s_aa) ok
     
    701701!(s_ab <= s_aa) ok
    702702!(s_ab < s_aa) ok
    703 (cmp("ab", s_aa) > 0) ok
     703(strcmp("ab", s_aa) > 0) ok
    704704!("ab" == s_aa) ok
    705705("ab" != s_aa) ok
     
    708708!("ab" <= s_aa) ok
    709709!("ab" < s_aa) ok
    710 (cmp(s_ab, "aa") > 0) ok
     710(strcmp(s_ab, "aa") > 0) ok
    711711!(s_ab == "aa") ok
    712712(s_ab != "aa") ok
     
    715715!(s_ab <= "aa") ok
    716716!(s_ab < "aa") ok
    717 (cmp(s_ba, s_bb) < 0) ok
     717(strcmp(s_ba, s_bb) < 0) ok
    718718!(s_ba == s_bb) ok
    719719(s_ba != s_bb) ok
     
    722722(s_ba <= s_bb) ok
    723723(s_ba < s_bb) ok
    724 (cmp("ba", s_bb) < 0) ok
     724(strcmp("ba", s_bb) < 0) ok
    725725!("ba" == s_bb) ok
    726726("ba" != s_bb) ok
     
    729729("ba" <= s_bb) ok
    730730("ba" < s_bb) ok
    731 (cmp(s_ba, "bb") < 0) ok
     731(strcmp(s_ba, "bb") < 0) ok
    732732!(s_ba == "bb") ok
    733733(s_ba != "bb") ok
     
    736736(s_ba <= "bb") ok
    737737(s_ba < "bb") ok
    738 (cmp(s_bb, s_ba) > 0) ok
     738(strcmp(s_bb, s_ba) > 0) ok
    739739!(s_bb == s_ba) ok
    740740(s_bb != s_ba) ok
     
    743743!(s_bb <= s_ba) ok
    744744!(s_bb < s_ba) ok
    745 (cmp("bb", s_ba) > 0) ok
     745(strcmp("bb", s_ba) > 0) ok
    746746!("bb" == s_ba) ok
    747747("bb" != s_ba) ok
     
    750750!("bb" <= s_ba) ok
    751751!("bb" < s_ba) ok
    752 (cmp(s_bb, "ba") > 0) ok
     752(strcmp(s_bb, "ba") > 0) ok
    753753!(s_bb == "ba") ok
    754754(s_bb != "ba") ok
     
    757757!(s_bb <= "ba") ok
    758758!(s_bb < "ba") ok
    759 (cmp(s_aa, s_b) < 0) ok
     759(strcmp(s_aa, s_b) < 0) ok
    760760!(s_aa == s_b) ok
    761761(s_aa != s_b) ok
     
    764764(s_aa <= s_b) ok
    765765(s_aa < s_b) ok
    766 (cmp("aa", s_b) < 0) ok
     766(strcmp("aa", s_b) < 0) ok
    767767!("aa" == s_b) ok
    768768("aa" != s_b) ok
     
    771771("aa" <= s_b) ok
    772772("aa" < s_b) ok
    773 (cmp(s_aa, "b") < 0) ok
     773(strcmp(s_aa, "b") < 0) ok
    774774!(s_aa == "b") ok
    775775(s_aa != "b") ok
     
    778778(s_aa <= "b") ok
    779779(s_aa < "b") ok
    780 (cmp(s_b, s_aa) > 0) ok
     780(strcmp(s_b, s_aa) > 0) ok
    781781!(s_b == s_aa) ok
    782782(s_b != s_aa) ok
     
    785785!(s_b <= s_aa) ok
    786786!(s_b < s_aa) ok
    787 (cmp("b", s_aa) > 0) ok
     787(strcmp("b", s_aa) > 0) ok
    788788!("b" == s_aa) ok
    789789("b" != s_aa) ok
     
    792792!("b" <= s_aa) ok
    793793!("b" < s_aa) ok
    794 (cmp(s_b, "aa") > 0) ok
     794(strcmp(s_b, "aa") > 0) ok
    795795!(s_b == "aa") ok
    796796(s_b != "aa") ok
  • tests/collections/.expect/string-istream-manip.txt

    re0cc9e0 re7eb1f0  
    696913 wwwwwwww
    707014 cccc
    71 15 q
     7115
    72721 yyyyyyyyyyyyyyyyyyyy
    73732 abcxxx
     
    848413 wwwwwwww
    858514 cccc
    86 15 q
     8615
  • tests/collections/string-compare.cfa

    re0cc9e0 re7eb1f0  
    33
    44#define test_eq_(l, r) \
    5     chk( (cmp(l, r) == 0) ) \
     5    chk( (strcmp(l, r) == 0) ) \
    66    chk(  (l == r) ) \
    77    chk( !(l != r) ) \
     
    1717
    1818#define test_lt_(l, r) \
    19     chk( (cmp(l, r) < 0) ) \
     19    chk( (strcmp(l, r) < 0) ) \
    2020    chk( !(l == r) ) \
    2121    chk(  (l != r) ) \
     
    2626
    2727#define test_gt_(l, r) \
    28     chk( (cmp(l, r) > 0) ) \
     28    chk( (strcmp(l, r) > 0) ) \
    2929    chk( !(l == r) ) \
    3030    chk(  (l != r) ) \
Note: See TracChangeset for help on using the changeset viewer.