Changeset 17a1b21 for tests


Ignore:
Timestamp:
Mar 5, 2019, 8:45:24 AM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
ca0f061f
Parents:
0050a5f
Message:

add printing and testing for zero_t and one_t

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/io1.txt

    r0050a5f r17a1b21  
    119 6 28 0 7 1 2
    2 1 2 3
    3 123
    4 123
     20 1 2 3
     30123
     40123
    55
    66opening delimiters
  • tests/io1.cfa

    r0050a5f r17a1b21  
    1010// Created On       : Wed Mar  2 16:56:02 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Dec 21 16:02:55 2018
    13 // Update Count     : 114
     12// Last Modified On : Mon Mar  4 21:42:47 2019
     13// Update Count     : 115
    1414//
    1515
     
    1919        int x = 3, y = 5, z = 7;
    2020        sout | x * 3 | y + 1 | z << 2 | x == y | (x | y) | (x || y) | (x > z ? 1 : 2);
    21         sout | 1 | 2 | 3;
    22         sout | '1' | '2' | '3';
    23         sout | 1 | "" | 2 | "" | 3;
     21        sout | 0 | 1 | 2 | 3;
     22        sout | '0' | '1' | '2' | '3';
     23        sout | 0 | "" | 1 | "" | 2 | "" | 3;
    2424        sout | nl;
    2525
Note: See TracChangeset for help on using the changeset viewer.