- Timestamp:
- Aug 24, 2017, 8:53:28 AM (7 years ago)
- 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
- Location:
- src/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/io.c
r1efa1e1 r7bc4e6b 10 10 // Created On : Wed Mar 2 16:56:02 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jul 6 23:26:12201713 // Update Count : 7 812 // Last Modified On : Wed Aug 23 21:27:50 2017 13 // Update Count : 79 14 14 // 15 15 … … 89 89 90 90 sout | "input bacis types" | endl; 91 &in | &c// character92 | &si | &usi | &i | &ui | &li | &uli | &lli | &ulli// integral93 | &f | &d | &ld // floating point94 | &fc | &dc | &ldc// floating-point complex91 &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 95 95 | cstr( s1 ) | cstr( s2, size ); // C string, length unchecked and checked 96 96 sout | endl; -
src/tests/rational.c
r1efa1e1 r7bc4e6b 10 10 // Created On : Mon Mar 28 08:43:12 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed May 17 15:46:35201713 // Update Count : 6 512 // Last Modified On : Wed Aug 23 21:40:11 2017 13 // Update Count : 66 14 14 // 15 15 … … 92 92 sout | x | endl; 93 93 94 sin | &a | &b;94 sin | a | b; 95 95 sout | a | b | endl; 96 96 } // main -
src/tests/vector/vector_test.c
r1efa1e1 r7bc4e6b 9 9 // Author : Richard C. Bilson 10 10 // Created On : Wed May 27 17:56:53 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Wed Apr 27 17:31:27 201613 // Update Count : 1 811 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Aug 24 08:15:38 2017 13 // Update Count : 19 14 14 // 15 15 … … 27 27 sout | "enter N elements and C-d on a separate line:" | endl; 28 28 for ( ;; ) { 29 sin | #29 sin | num; 30 30 if ( fail( sin ) || eof( sin ) ) break; 31 31 append( &vec, num );
Note: See TracChangeset
for help on using the changeset viewer.