Ignore:
Timestamp:
Jan 24, 2024, 6:05:54 AM (20 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
16afb2a, 221c542e, 8a33777
Parents:
544deb9 (diff), 61e362f (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 branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

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

    r544deb9 r71b5aad5  
    9898        sout | b5; // Q
    9999
    100 
     100        string b6 = 42;
     101        sout | b6; // 42
     102
     103        string b7 = -42;
     104        sout | b7; // -42
     105
     106        string b8 = 5.5;
     107        sout | b8; // 5.5
     108
     109        string b9 = 5.5L;
     110        sout | b9; // 5.5
     111
     112        string b10 = 5.5+3.4i;
     113        sout | b10; // 5.5+3.4i
     114
     115        string b11 = 5.5L+3.4Li;
     116        sout | b11; // 5.5+3.4i
    101117    }
    102118                                            assertWellFormedHandleList( 10 );
     
    141157        strncpy( b, s, 4 );
    142158        sout | b; // hell
     159
     160        b = 42;
     161        sout | b; // 42
     162
     163        b = -42;
     164        sout | b; // -42
     165
     166        b = 5.5;
     167        sout | b; // 5.5
     168
     169        b = 5.5L;
     170        sout | b; // 5.5
     171
     172        b = 5.5+3.4i;
     173        sout | b; // 5.5+3.4i
     174
     175        b = 5.5L+3.4Li;
     176        sout | b; // 5.5+3.4i
    143177    }
    144178                                            assertWellFormedHandleList( 10 );
Note: See TracChangeset for help on using the changeset viewer.