Commit Graph

1750 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
6497745560 Skip backup files in tests.
More specific numeric types.
More subtyping relationships.

svn: r16922
2009-11-20 15:20:23 +00:00
Sam Tobin-Hochstadt
485c8a3567 checkpoint
svn: r16915
2009-11-20 05:20:23 +00:00
Sam Tobin-Hochstadt
1da2c7cd7d many fixes
svn: r16913
2009-11-20 03:56:57 +00:00
Eli Barzilay
9473d1809f test all orders fo lengths <= 3
svn: r16900
2009-11-19 22:05:02 +00:00
Robby Findler
8d96441673 PR 10591
svn: r16897
2009-11-19 20:29:36 +00:00
Eli Barzilay
0c0945bb08 properly disable TS tests on cgc
svn: r16842
2009-11-17 20:02:07 +00:00
Sam Tobin-Hochstadt
bbd2ff852e disable typed scheme tests on cgc
svn: r16839
2009-11-17 19:45:41 +00:00
Eli Barzilay
10183e8d19 fix moved test files, set svn:eol-style
svn: r16815
2009-11-16 17:35:23 +00:00
Robby Findler
4f5479e912 moved 2htdp/image test back into 2htdp collection (yeah!)
svn: r16812
2009-11-16 16:45:25 +00:00
Robby Findler
77e1707aa7 renamed README to README.ss
svn: r16809
2009-11-16 12:00:03 +00:00
Eli Barzilay
b1f5b0652c new kinds of promises
svn: r16807
2009-11-16 11:06:47 +00:00
Eli Barzilay
7917fd89fb moved srfi-19 tests to tests/srfi/19
svn: r16799
2009-11-16 07:30:49 +00:00
Eli Barzilay
de17c5f7da moved planet test to tests/planet
svn: r16798
2009-11-16 07:23:20 +00:00
Eli Barzilay
77d9f02c90 work around name problem in promise, avoid keeping the original exn in syntax errors in eli-tester
svn: r16796
2009-11-16 04:34:13 +00:00
Sam Tobin-Hochstadt
25f9bcfe03 Add types for with-output-to-string, open-output-nowhere
Fix time.ss test not to print

svn: r16790
2009-11-15 22:38:30 +00:00
Eli Barzilay
cecac1c6c1 delay is now defined as delay*
svn: r16780
2009-11-15 10:47:59 +00:00
Eli Barzilay
d66d5f7759 move promise tests to tests/lazy
svn: r16773
2009-11-15 00:36:24 +00:00
Matthew Flatt
2f0f249299 skip setup-plt compilation in 2htdp tests
svn: r16771
2009-11-14 15:54:33 +00:00
Ryan Culpepper
32e38ca0e4 macro-stepper:
do compile-time evals when expanding
    fixes: (begin macro-def macro-use) pattern
  updated tests for lifts change

svn: r16762
2009-11-13 21:41:01 +00:00
Sam Tobin-Hochstadt
a29172bc51 Add command line flags to disable things that are problematic for DrDr.
svn: r16751
2009-11-13 18:16:07 +00:00
Sam Tobin-Hochstadt
77bd8bac39 Fix for modern redex
svn: r16737
2009-11-13 00:13:09 +00:00
Robby Findler
676df4b338 added polygon
svn: r16735
2009-11-12 20:21:33 +00:00
Robby Findler
cacb4bd515 added above and above/places
svn: r16730
2009-11-12 16:25:02 +00:00
Robby Findler
88217a8aae added 'add-line', changed the way images in examples are saved
svn: r16727
2009-11-12 14:56:47 +00:00
Robby Findler
7411fdfa57 added 'line'
svn: r16699
2009-11-11 21:29:59 +00:00
Sam Tobin-Hochstadt
ccbb55ec11 fix execution of 'auto.ss'
svn: r16697
2009-11-11 18:41:25 +00:00
Sam Tobin-Hochstadt
70fa8fb2c4 Fix run to dynamic-require relative to the shootout directory.
svn: r16696
2009-11-11 18:30:18 +00:00
Matthew Flatt
8845e870cb test repairs for DrDr
svn: r16694
2009-11-11 14:01:18 +00:00
Jon Rafkind
0080e2b673 test
svn: r16683
2009-11-11 02:25:11 +00:00
Jon Rafkind
507e8db8e7 test
svn: r16682
2009-11-11 02:22:38 +00:00
Robby Findler
1a8d681ed2 added a bunch more polygons
svn: r16681
2009-11-11 02:20:18 +00:00
Matthew Flatt
1d64270f5d some corrections/removals of old tests
svn: r16680
2009-11-11 01:34:09 +00:00
Robby Findler
4e3b1b4c26 fixed some bad behavior (that I never completely understood) by changing the interpretation of the base images as drawing their centers at (0,0) instead of drawing their upper left corners at (0,0)
svn: r16676
2009-11-10 23:36:32 +00:00
Sam Tobin-Hochstadt
36bceaa463 disable compilation of test files to avoid drdr race condition
svn: r16663
2009-11-10 20:10:47 +00:00
Jon Rafkind
9c0c1ec591 comment out most honu macro stuff
svn: r16660
2009-11-10 19:18:06 +00:00
Sam Tobin-Hochstadt
8dff3dca74 use load-relative
svn: r16656
2009-11-10 18:28:20 +00:00
Sam Tobin-Hochstadt
7a77367040 Fix drdr props.
Fix the ttt tests (which I don't think have been run in years).
Fix the lists shootout benchmark to use mpairs.
Fix the regexmatch shootout benchmark, although it still needs input.
Require a current version of ssax, so that it compiles.
Fix finding the collections path.

svn: r16654
2009-11-10 15:41:32 +00:00
Robby Findler
add9374636 added failing test
svn: r16652
2009-11-10 14:08:28 +00:00
Sam Tobin-Hochstadt
f29e01029c Fix drdr props for more files.
Fix requires in TS tests.

svn: r16635
2009-11-09 17:06:12 +00:00
Eli Barzilay
44d88cee6b newlines at EOFs
svn: r16630
2009-11-09 03:49:50 +00:00
Robby Findler
3e51bc7199 fixed up text
svn: r16625
2009-11-08 23:29:19 +00:00
Ryan Culpepper
94917e2447 unstable:
added draft guidelines
  fixed some svn properties

svn: r16619
2009-11-08 10:55:57 +00:00
Robby Findler
faf055c858 added circle and star-polygon
svn: r16617
2009-11-08 00:19:53 +00:00
Robby Findler
667e967085 added order-of-magnitude from Jos Koot and some tests for other scheme/math stuff
svn: r16607
2009-11-07 14:26:39 +00:00
Sam Tobin-Hochstadt
2f6c19b75a fix section name
svn: r16601
2009-11-07 06:55:45 +00:00
Eli Barzilay
69e90b7ef3 #:key argument to remove-duplicates
svn: r16587
2009-11-06 22:32:53 +00:00
Robby Findler
3159a06389 (hopefully) sorted out polygons; added a few other polygon-based primitives
svn: r16570
2009-11-06 14:34:25 +00:00
Robby Findler
693ba9b9e8 allow overlaying of 0x0 images
svn: r16558
2009-11-05 14:55:07 +00:00
Mike Sperber
2a8e5d64be Make the DeinProgramm / DMdA one-of' / case' contracts use beginner-equal?.
svn: r16556
2009-11-05 10:10:17 +00:00
Ryan Culpepper
0feac0f636 syntax/parse:
tweaked error selection algorithm
  added tests

svn: r16533
2009-11-04 00:31:24 +00:00
Sam Tobin-Hochstadt
149e695a55 New `scheme/vector' library.
svn: r16511
2009-11-03 04:16:48 +00:00
Kevin Tew
9611f21611 Allow concurrent testing
svn: r16506
2009-11-02 23:24:08 +00:00
Matthew Flatt
70560372b7 unsafe-{string,bytes}-{ref,set,length}
svn: r16490
2009-10-31 02:19:57 +00:00
Sam Tobin-Hochstadt
40bc4cb77a remove dead examples
svn: r16480
2009-10-30 16:27:55 +00:00
Sam Tobin-Hochstadt
93a504a817 Add failing test to xfail.
Remove old dead code.

svn: r16479
2009-10-30 16:26:48 +00:00
Robby Findler
d48bc1f1c1 undid my broken commit
svn: r16478
2009-10-30 16:11:34 +00:00
Jay McCarthy
d84879db34 Moving tests
svn: r16477
2009-10-30 16:00:44 +00:00
Eli Barzilay
27f1489403 extra flushing
svn: r16468
2009-10-30 07:50:49 +00:00
Eli Barzilay
fdb074407d have at least one more difference from the first test
svn: r16464
2009-10-30 07:20:02 +00:00
Eli Barzilay
f03518f7cc try to sort outputs out
svn: r16463
2009-10-30 06:42:51 +00:00
Sam Tobin-Hochstadt
b7db9e4e67 add back test, but fixed
svn: r16462
2009-10-30 03:19:50 +00:00
Eli Barzilay
e81bbf3b90 undo the fake-error-output change
svn: r16461
2009-10-30 02:54:45 +00:00
Eli Barzilay
8061c07a9d fix one broken test, remove another bogus test
svn: r16460
2009-10-30 02:28:38 +00:00
John Clements
e4ccfc0e25 removed extra arg from call to 'go'
svn: r16457
2009-10-29 19:23:08 +00:00
John Clements
5b06af8c10 removed non-compiling test-suite
svn: r16456
2009-10-29 19:16:40 +00:00
John Clements
0263431ae0 ...
svn: r16455
2009-10-29 19:16:06 +00:00
Stevie Strickland
cf78f9173c These tests are so outdated, that if they ever get put back, they'll have
to change almost completely anyway.  Jettison the whole mess.

svn: r16454
2009-10-29 19:08:40 +00:00
Sam Tobin-Hochstadt
653d0ccd66 Add in-port', port->list', `file->list'.
Add documentation, tests for above.
Allow procedure argument to `fold-files' to return 2 values in all cases.
Document, test.

svn: r16453
2009-10-29 18:49:34 +00:00
Stevie Strickland
4bad2f34c1 Fix another of the tests for units.
svn: r16452
2009-10-29 18:38:08 +00:00
Robby Findler
4ddbe71e2d fixed the comparison contracts so they work right wrt to complex numbers
svn: r16445
2009-10-28 16:04:39 +00:00
Robby Findler
b17d6cfc2c fixed up for our modern times
svn: r16437
2009-10-26 19:48:58 +00:00
Matthew Flatt
9dc53f261e unsafe variants of shootout benchmarks
svn: r16432
2009-10-26 16:53:45 +00:00
Ryan Culpepper
e273dae9b1 macro-stepper: made syntax display faster, esp for early terms
calculate arrows etc wrt known binders instead of all binders

svn: r16416
2009-10-22 22:00:49 +00:00
Jay McCarthy
98488a89ef DrDr bugs and spurious errors
svn: r16412
2009-10-22 18:45:02 +00:00
Jay McCarthy
d557687494 DrDr related changes
svn: r16403
2009-10-21 20:32:19 +00:00
Sam Tobin-Hochstadt
a3082cba0b fix test result
svn: r16398
2009-10-21 14:46:36 +00:00
Ryan Culpepper
c7d95a21c2 syntax/parse:
dependence on scheme/match eliminated
  fail-when, etc use conditional value if syntax
  error message typos (bad tildes) fixed

svn: r16393
2009-10-20 23:17:30 +00:00
Sam Tobin-Hochstadt
37106bd6f7 Add `typed/scheme/system'
Special handling of (letrec ([x e]) x)
Allow functions with optional keyword args to be inferred when kws not supplied.
Infer instantiations for kw functions in simple cases.
Add `Path-String' type
Fix types of `filter', `with-{input-to,output-from}-file'
Add `port->lines'
New 'metrics.ss' test

svn: r16385
2009-10-20 18:30:37 +00:00
Kevin Tew
ac7853dc00 Allow binding to ephemeral ports
svn: r16382
2009-10-20 17:00:20 +00:00
Stevie Strickland
c17885638a * Fix with-contract so that all uncontracted names are automatically exported
* Also allow mutation of contracted names that flow in/out of with-contract.

svn: r16376
2009-10-19 23:17:30 +00:00
Eli Barzilay
3d60fe640b misc prop fixes
svn: r16374
2009-10-19 22:36:12 +00:00
Stevie Strickland
0385b2f89d Fix require-for-syntax -> require + for-syntax
svn: r16367
2009-10-19 16:11:52 +00:00
Sam Tobin-Hochstadt
6a83901a8b Don't error for branches with wrong number of results where return type is Bot.
Allow case-lambda to be subtype of equiv union type.
Add types for path?, fold-files, assert

svn: r16357
2009-10-18 01:10:00 +00:00
Robby Findler
b5dd323d94 fixed up problems uncovered by dr dr
svn: r16355
2009-10-17 21:28:45 +00:00
Robby Findler
931cb35fa4 fixed up these files to be friendlier to the dr dr
svn: r16354
2009-10-17 21:23:35 +00:00
Matthew Flatt
110ea411d1 clean up some tests
svn: r16350
2009-10-17 14:50:52 +00:00
Eli Barzilay
87a169a33e drdr props to ignore Windows-only files; svn:ignore; make plot/run-tests.ss independent of where they are running from
svn: r16346
2009-10-17 02:17:09 +00:00
Jay McCarthy
46734639fb Cleaning up DrDr properties
svn: r16342
2009-10-16 19:29:57 +00:00
Robby Findler
40547e86a2 added a little more automation to the drscheme test suite
svn: r16341
2009-10-16 17:26:32 +00:00
Jon Rafkind
25bd680141 add example syntax-rules honu macro
svn: r16334
2009-10-15 23:38:19 +00:00
Jay McCarthy
c40c3a9884 DrDr properties and stderr change
svn: r16329
2009-10-15 19:42:48 +00:00
Robby Findler
11e87632dc rearranged things so that 2htdp/image has its core snip stuff loaded into drscheme so that saving files with 2htdp/image images in them works
svn: r16317
2009-10-13 23:06:24 +00:00
Robby Findler
3aae13cb60 fixed a bug in rotating non-polygons
svn: r16315
2009-10-13 22:16:17 +00:00
Robby Findler
339860d340 a little more progress (got ellipses bounding boxes right!)
svn: r16307
2009-10-13 17:30:40 +00:00
Robby Findler
7dbd784048 PR 10518
svn: r16282
2009-10-08 16:32:37 +00:00
Robby Findler
e87712fdda an attempt to fix up the bounding boxes on ellipses
svn: r16281
2009-10-08 14:20:04 +00:00
Matthew Flatt
f6d34ab964 add unsafe-flabs and unsafe-fxabs (4.2.2.4)
svn: r16234
2009-10-04 03:25:56 +00:00
Matthew Flatt
20681d40de tests for bitwise-bit-field repair
svn: r16233
2009-10-04 01:41:18 +00:00
Matthew Flatt
9852bb16a2 unboxing of intermediate results in some 'unsafe-fl' combinations
svn: r16229
2009-10-03 14:10:55 +00:00
Matthew Flatt
01d15eb9b6 add unsafe-fx->fl; avoid some gcc warnings
svn: r16221
2009-10-02 19:45:41 +00:00
Sam Tobin-Hochstadt
6efd0abc13 Fix bug with use of match with ... and annotation.
svn: r16216
2009-10-02 16:20:30 +00:00
Robby Findler
d0b4dc24ec added scaling to 2htdp/image
svn: r16211
2009-10-02 11:20:30 +00:00
Robby Findler
2fbb31c6ad a little more progress on images, plus some documentation
svn: r16202
2009-10-01 19:21:45 +00:00
John Clements
352a74cc05 ...
svn: r16199
2009-10-01 17:46:44 +00:00
Eli Barzilay
b280232aea mu
svn: r16160
2009-09-29 04:38:02 +00:00
Jon Rafkind
230fcf49df add simple trace tests
svn: r16158
2009-09-29 04:30:31 +00:00
Robby Findler
53a796d7af first (broken) attempt at bounding boxes for ellipses
svn: r16145
2009-09-28 16:26:03 +00:00
Robby Findler
982f533d28 split up image into core library (required for copy & paste) and other stuff (implementation of the combinators, mostly)
svn: r16141
2009-09-28 11:36:13 +00:00
Robby Findler
68d461f60a renamed 2htdp/picture to 2htdp/image
svn: r16140
2009-09-28 11:04:23 +00:00
Matthew Flatt
95235a4522 fix problem with regexp-match*, etc. and byte regexps (merge to 4.2.2)
svn: r16133
2009-09-26 18:50:41 +00:00
Robby Findler
c91a9847aa more progress on picture.ss; hopefully this is a final version of the internal data definitions
svn: r16132
2009-09-26 15:39:00 +00:00
Robby Findler
9b8c2d15cc added a test case for just creating a snip% (but the test case doesnt run yet)
svn: r16131
2009-09-26 15:38:35 +00:00
Matthew Flatt
be2c552788 fix cleanse-path security-guard test
svn: r16125
2009-09-25 14:16:44 +00:00
Robby Findler
6ac7ad9a3c svn: r16110 2009-09-22 10:10:46 +00:00
Robby Findler
5fb6d5ef47 brought test suites up to date
svn: r16105
2009-09-21 22:43:39 +00:00
Kathy Gray
8daec2e15d Removed tests/profj. Moved the test-engine test file out of the profj tests into its own directory
svn: r16101
2009-09-21 12:42:27 +00:00
Ryan Culpepper
68667c15a6 syntax/parse: removed tests/stxclass to tests/stxparse
svn: r16098
2009-09-20 23:57:56 +00:00
Ryan Culpepper
5ababfac9c syntax/parse: added ~parse action pattern
svn: r16097
2009-09-20 23:49:41 +00:00
Eli Barzilay
95f81d4b50 restored collects/tests/profj, since kathy needs to get the profj tests out, and since it also includes the test-engine tests
svn: r16095
2009-09-20 22:29:02 +00:00
Eli Barzilay
6387797aa4 removed collects/tests/profj
svn: r16088
2009-09-20 20:37:14 +00:00
Ryan Culpepper
282d36e363 syntax/parse: added explicit ~var and ~literal forms (no docs yet)
svn: r16077
2009-09-19 20:04:00 +00:00
Mike Sperber
ec0175bd48 Add missing `contract'.
svn: r16072
2009-09-19 17:23:04 +00:00
Kathy Gray
f300ba967a Changed syntax of check-member-of so that it will work in htdp-beginner
Updated docs to reflect this

svn: r16065
2009-09-18 14:19:50 +00:00
Kathy Gray
e3c2721052 Adding check-member-of and check-range to the htdp languages and updating the docs.
svn: r16064
2009-09-18 12:37:18 +00:00
Stevie Strickland
636adcc142 Refactoring all the private contract stuff into its own playpen.
svn: r16052
2009-09-17 20:55:37 +00:00
Stevie Strickland
70e8f21ba2 Refactoring scheme/private/contract into reasonably sized pieces.
svn: r16049
2009-09-17 19:45:56 +00:00
Stevie Strickland
aca0bcf82e First moving private/contract.ss to a different name. The diaspora from
that file into others will happen next.

svn: r16048
2009-09-17 17:42:45 +00:00
John Clements
93a2302bf3 cleaned up debugging code, still no automated testing
svn: r16015
2009-09-15 00:45:33 +00:00
Jon Rafkind
6137510396 make generators use a parameterized yield function
svn: r16010
2009-09-14 21:11:07 +00:00
Jay McCarthy
b2b557ab0b Fixing test
svn: r16007
2009-09-14 18:40:20 +00:00
Matthew Flatt
30c0dcf045 dynamic-require and 0 mode; repair to unsafe-fl ops; x86_64 for Mac OS X
svn: r15985
2009-09-11 23:05:50 +00:00
Sam Tobin-Hochstadt
49b30f9055 Remove obselete file.
Use syntax/parse instead of stxclass.

svn: r15983
2009-09-11 22:17:45 +00:00
Stevie Strickland
c7255c9daf Copy/paste error.
svn: r15978
2009-09-11 19:39:08 +00:00
Jon Rafkind
d0611c8871 add keyword tests for define-struct/contract
svn: r15974
2009-09-11 17:37:59 +00:00
Mike Sperber
b6ca1e1673 Zap a bunch more `define-contract' forms.
svn: r15971
2009-09-11 09:38:59 +00:00
Mike Sperber
9a613d0d57 Remove invalid-arity tests: these fail directly now that we copy the
arity to the enforcer.

svn: r15935
2009-09-09 15:17:40 +00:00
Sam Tobin-Hochstadt
4907d266df Move parse-type2 to parse-type.
Re-enable typed-scheme tests automatically.

svn: r15924
2009-09-08 20:02:03 +00:00
Sam Tobin-Hochstadt
63d318fd4b New type parser, written using syntax/parse.
- uses keywords with bindings
 - : macro in separate file so it can be used earlier
 - internal function in separate file
FilterSet/c and LatentFilterSet/c contracts
Avoid returning #f when `look-for-in-orig' fails
Add type for unsafe-cdr

svn: r15923
2009-09-08 19:51:34 +00:00
Matthew Flatt
8ae0ea9d14 unsafe ops (v4.2.1.8)
svn: r15899
2009-09-06 18:24:46 +00:00
Jon Rafkind
260ef74035 add define-struct/contract sub-typing tests
svn: r15888
2009-09-05 16:48:15 +00:00
Robby Findler
302cfd2800 updated to new coloring of set!'d variables
svn: r15875
2009-09-04 07:54:42 +00:00
Robby Findler
937d2efab3 added exists to provide/contract
svn: r15871
2009-09-04 04:52:02 +00:00
Sam Tobin-Hochstadt
9e25d28a28 remove extra whitespace
svn: r15863
2009-09-03 07:53:39 +00:00
Sam Tobin-Hochstadt
95cb438a9c New tests
svn: r15856
2009-09-01 22:22:37 +00:00
Stevie Strickland
acce62b181 Add in one test that uses unit/c (via define-unit/contract) instead of just
the signature based contracts.

svn: r15855
2009-09-01 22:00:15 +00:00
Ryan Culpepper
2acdfd6eb5 syntax/parse: fixed error-reporting bugs, added error-reporting tests
svn: r15853
2009-09-01 19:16:33 +00:00
Ryan Culpepper
43d10b5179 added syntax/keyword library
updated syntax/parse to add #:context argument

svn: r15828
2009-08-29 22:58:08 +00:00
Matthew Flatt
a12ec5fd23 improve speed of writing long byte strings with lots of escapes in WXME
svn: r15822
2009-08-28 03:45:38 +00:00
Jon Rafkind
40115cb251 add generator tests back in
svn: r15817
2009-08-27 16:42:17 +00:00
Eli Barzilay
caf1c21d3f removed tests for now
svn: r15813
2009-08-27 12:17:28 +00:00