Changeset 7bc4e6b for src/tests


Ignore:
Timestamp:
Aug 24, 2017, 8:53:28 AM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
a4d9b77
Parents:
1efa1e1
Message:

change iostream to use references, and update affected tests

Location:
src/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/tests/io.c

    r1efa1e1 r7bc4e6b  
    1010// Created On       : Wed Mar  2 16:56:02 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Jul  6 23:26:12 2017
    13 // Update Count     : 78
     12// Last Modified On : Wed Aug 23 21:27:50 2017
     13// Update Count     : 79
    1414//
    1515
     
    8989
    9090        sout | "input bacis types" | endl;
    91         &in | &c                                                                                        // character
    92                 | &si | &usi | &i | &ui | &li | &uli | &lli | &ulli     // integral
    93                 | &f | &d | &ld                                                                 // floating point
    94                 | &fc | &dc | &ldc                                                              // floating-point complex
     91        &in | c                                                                                         // character
     92                | si | usi | i | ui | li | uli | lli | ulli             // integral
     93                | f | d | ld                                                                    // floating point
     94                | fc | dc | ldc                                                                 // floating-point complex
    9595                | cstr( s1 ) | cstr( s2, size );                                // C string, length unchecked and checked
    9696        sout | endl;
  • src/tests/rational.c

    r1efa1e1 r7bc4e6b  
    1010// Created On       : Mon Mar 28 08:43:12 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed May 17 15:46:35 2017
    13 // Update Count     : 65
     12// Last Modified On : Wed Aug 23 21:40:11 2017
     13// Update Count     : 66
    1414//
    1515
     
    9292        sout | x | endl;
    9393
    94         sin | &a | &b;
     94        sin | a | b;
    9595        sout | a | b | endl;
    9696} // main
  • src/tests/vector/vector_test.c

    r1efa1e1 r7bc4e6b  
    99// Author           : Richard C. Bilson
    1010// Created On       : Wed May 27 17:56:53 2015
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Apr 27 17:31:27 2016
    13 // Update Count     : 18
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Thu Aug 24 08:15:38 2017
     13// Update Count     : 19
    1414//
    1515
     
    2727        sout | "enter N elements and C-d on a separate line:" | endl;
    2828        for ( ;; ) {
    29                 sin | &num;
     29                sin | num;
    3030          if ( fail( sin ) || eof( sin ) ) break;
    3131                append( &vec, num );
Note: See TracChangeset for help on using the changeset viewer.