Changeset 3f219eb for tests


Ignore:
Timestamp:
Nov 17, 2023, 1:56:13 PM (6 months ago)
Author:
caparson <caparson@…>
Branches:
master
Children:
0f6d2884
Parents:
3f4f30a
Message:

fixed bug where uninit mem was sometimes printed in test

Location:
tests/exceptions
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/exceptions/.expect/cardgame.arm64.txt

    r3f4f30a r3f219eb  
    11start
    2 117
    3 72
    4 66
    5 11
    6 90
    720
    8 52
     33
     42
     54
     60
     76
     80
     93
     102
     112
    9121
    10 4294967295
    11 67
    12 70
    13 4294967295
    14 92
     130
     142
     151
     160
     171
     181
     192
    15200
    16210
    17 4294967295
    18 16
    19 4294967295
    20 126
    21 103
    22 23
    23 78
    24 34
    25 8
    26 1
    27 3
    28 47
    29 187
    30 5
    31 89
    32 4294967295
    33 52
    34 62
    35 125
    36 1
    37 174
    38220
    39 139
    40 36
    41 4
    42 4294967295
    43 42
    44 114
    45 4
    46 119
    47 61
    48 12
    49 4294967295
    50 44
    51 6
     230
     240
    5225done
  • tests/exceptions/.expect/cardgame.x64.txt

    r3f4f30a r3f219eb  
    11start
    2 117
    3 72
    4 66
    5 11
    6 90
    720
    8 52
     33
     42
     54
     60
     76
     80
     93
     102
     112
    9121
    10 4294967295
    11 67
    12 70
    13 4294967295
    14 92
     130
     142
     151
     160
     171
     181
     192
    15200
    16210
    17 4294967295
    18 16
    19 4294967295
    20 126
    21 103
    22 23
    23 78
    24 34
    25 8
    26 1
    27 3
    28 47
    29 187
    30 5
    31 89
    32 4294967295
    33 52
    34 62
    35 125
    36 1
    37 174
    38220
    39 139
    40 36
    41 4
    42 4294967295
    43 42
    44 114
    45 4
    46 119
    47 61
    48 12
    49 4294967295
    50 44
    51 6
     230
     240
    5225done
  • tests/exceptions/cardgame.cfa

    r3f4f30a r3f219eb  
    4444                for ( ;; ) {
    4545                  if ( partner[LEFT] == &player ) {                             // stop when only one player
     46                                sout | id;
    4647                                break;
    4748                        } // exit
     
    178179
    179180                        play( *players[ prng( mprng, numPlayers ) ], numCards ); // dealer starts the game
    180                         sout | players[0]->deck;
    181181                        for ( unsigned int i = 0; i < (unsigned int)numPlayers; i += 1 ) { // delete players when the game is over
    182182                                delete( players[i] );
Note: See TracChangeset for help on using the changeset viewer.