Ignore:
Timestamp:
Sep 22, 2025, 2:33:42 PM (5 months ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
bb5b866
Parents:
7ca6bf1 (diff), 295ed2d1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'refs/remotes/origin/master'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/collections/string-api-coverage.cfa

    r7ca6bf1 r1dec8f3  
    22#include <string_sharectx.hfa>
    33#include <fstream.hfa>
    4 
     4#include <ctype.h>                                                                              // isxdigit, ispunct, isupper
    55
    66// Purpose: call each function in string.hfa, top to bottom
     
    407407        | (return string)include( alphabet, cc_alphabet )  // "abcdefghijklmnopqrstuvwxyz"
    408408        | (return string)exclude( alphabet, cc_alphabet ); // ""
     409
     410        sout
     411                | (return size_t)include( "1FeC34aB", isxdigit )
     412                | (return size_t)include( ".,;’!\"", ispunct )
     413                | (return size_t)include( "XXXx", isupper );
     414
     415        sout
     416                | (return string)include( "1FeC34aB", isxdigit )
     417                | (return string)include( ".,;’!\"", ispunct )
     418                | (return string)include( "XXXx", isupper );
     419
     420        sout
     421                | (return size_t)exclude( "1FeC34aB", isdigit )
     422                | (return size_t)exclude( ".,;’!\"", ispunct )
     423                | (return size_t)exclude( "XXXx", islower );
     424
     425        sout
     426                | (return string)exclude( "1FeC34aB", isalpha )
     427                | (return string)exclude( ".,;’!\"", ispunct )
     428                | (return string)exclude( "XXXx", islower );
    409429}
Note: See TracChangeset for help on using the changeset viewer.