]> gitweb.factorcode.org Git - factor.git/commitdiff
core: Trim using lists from -tests and clean up a few irregularities.
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 31 Mar 2016 01:43:14 +0000 (18:43 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 31 Mar 2016 01:43:41 +0000 (18:43 -0700)
65 files changed:
core/alien/alien-tests.factor
core/arrays/arrays-tests.factor
core/assocs/assocs-tests.factor
core/byte-arrays/byte-arrays-tests.factor
core/byte-vectors/byte-vectors-tests.factor
core/checksums/crc32/crc32-tests.factor
core/classes/algebra/algebra-tests.factor
core/classes/builtin/builtin-tests.factor
core/classes/classes-tests.factor
core/classes/error/error-tests.factor
core/classes/intersection/intersection-tests.factor
core/classes/maybe/maybe-tests.factor
core/classes/mixin/mixin-tests.factor
core/classes/predicate/predicate-tests.factor
core/classes/singleton/singleton-tests.factor
core/classes/tuple/tuple-tests.factor
core/classes/union/union-tests.factor
core/combinators/combinators-tests.factor
core/compiler/units/units-tests.factor
core/continuations/continuations-tests.factor
core/definitions/definitions-tests.factor
core/destructors/destructors-tests.factor
core/effects/effects-tests.factor
core/generic/math/math-tests.factor
core/generic/parser/parser-tests.factor
core/growable/growable-tests.factor
core/hash-sets/hash-sets-tests.factor
core/hashtables/hashtables-tests.factor
core/io/encodings/ascii/ascii-tests.factor
core/io/encodings/utf16/utf16-tests.factor
core/io/encodings/utf16n/utf16n-tests.factor
core/io/encodings/utf8/utf8-tests.factor
core/io/io-tests.factor
core/io/streams/byte-array/byte-array-tests.factor
core/kernel/kernel-tests.factor
core/layouts/layouts-tests.factor
core/make/make-tests.factor
core/math/floats/floats-tests.factor
core/math/integers/integers-tests.factor
core/math/math-tests.factor
core/math/order/order-tests.factor
core/math/parser/parser-tests.factor
core/math/ratios/ratios-tests.factor
core/memory/memory-tests.factor
core/namespaces/namespaces-tests.factor
core/parser/parser-tests.factor
core/quotations/quotations-tests.factor
core/sbufs/sbufs-tests.factor
core/sequences/sequences-tests.factor
core/sets/sets-tests.factor
core/slots/slots-tests.factor
core/sorting/sorting-tests.factor
core/source-files/errors/errors-tests.factor
core/source-files/source-files-tests.factor
core/splitting/splitting-tests.factor
core/strings/parser/parser-tests.factor
core/strings/strings-tests.factor
core/system/system-tests.factor
core/vectors/vectors-tests.factor
core/vocabs/loader/loader-tests.factor
core/vocabs/parser/parser-tests.factor
core/vocabs/vocabs-tests.factor
core/words/alias/alias-tests.factor
core/words/constant/constant-tests.factor
core/words/words-tests.factor

index ec44ed1accfc7962d7b2285148e67df25607bcb6..28b2fe6d776ee22cf1eda989eb479fc014211ea6 100644 (file)
@@ -1,7 +1,6 @@
-USING: accessors alien alien.accessors alien.c-types alien.libraries
-alien.syntax arrays byte-arrays continuations fry kernel kernel.private
-layouts libc math namespaces prettyprint sequences system tools.memory
-tools.test ;
+USING: accessors alien alien.accessors alien.c-types
+alien.syntax byte-arrays continuations fry kernel layouts math
+namespaces prettyprint sequences tools.memory tools.test ;
 QUALIFIED: sets
 IN: alien.tests
 
index dc2683ee0fd752142c29d7a9552cac75c4a3f33d..e55c8bef2f7c28fc8fb2a037333db1837b2b29d9 100644 (file)
@@ -1,6 +1,5 @@
 USING: accessors arrays kernel kernel.private layouts literals math
 sequences tools.test vectors ;
-IN: arrays.tests
 
 [ -2 { "a" "b" "c" } nth ] must-fail
 [ 10 { "a" "b" "c" } nth ] must-fail
index eb0d3b8ab22f59ab287f1ee84fd2c4e6d8be7ae1..1acd43dc00505a65881b602dc33b7b247ed70013 100644 (file)
@@ -1,6 +1,6 @@
-USING: kernel math namespaces make tools.test vectors sequences
-sequences.private hashtables io prettyprint assocs
-continuations specialized-arrays alien.c-types ;
+USING: alien.c-types assocs kernel make math namespaces
+sequences specialized-arrays tools.test ;
+IN: assocs.tests
 SPECIALIZED-ARRAY: double
 IN: assocs.tests
 
index a63d3c1d8f849088a3ced1fb5381cac2f5f238ce..0b3906250d69671a1f50cab539435d224a46198f 100644 (file)
@@ -1,6 +1,5 @@
 USING: byte-arrays kernel math sequences sequences.private
 tools.test ;
-IN: byte-arrays.tests
 
 { 6 B{ 1 2 3 } } [
     6 B{ 1 2 3 } resize-byte-array
index 58dd39a5d75f4d48ecc09d71aca06e00777f78ed..2c3ee98221624deb82607bfd84a43dfdfa9daada 100644 (file)
@@ -1,5 +1,5 @@
-USING: tools.test byte-vectors vectors sequences kernel
-prettyprint math ;
+USING: byte-vectors math prettyprint sequences tools.test
+vectors ;
 IN: byte-vectors.tests
 
 { 0 } [ 123 <byte-vector> length ] unit-test
index 8922f5a2063c455a1f33294844debd1f86e5da8f..a2dca2fe229b03862d6560fa1055a3633192edfe 100644 (file)
@@ -1,4 +1,4 @@
-USING: checksums checksums.crc32 kernel math tools.test namespaces ;
+USING: checksums checksums.crc32 tools.test ;
 
 { B{ 0 0 0 0 } } [ "" crc32 checksum-bytes ] unit-test
 
index 9403a890e6838622a17f25c1255a3bc333c17ee6..d9ac9263ac9b28fd454d0b652a11155ea9597741 100644 (file)
@@ -1,10 +1,7 @@
-USING: alien arrays definitions generic assocs hashtables io
-kernel math namespaces parser prettyprint sequences strings
-tools.test words quotations classes classes.algebra
-classes.private classes.union classes.mixin classes.predicate
-vectors source-files compiler.units growable random
-stack-checker effects kernel.private sbufs math.order
-classes.tuple accessors generic.private ;
+USING: accessors arrays assocs classes classes.algebra
+classes.tuple classes.union generic generic.private growable
+kernel math prettyprint quotations random sbufs sequences
+stack-checker strings tools.test vectors words ;
 IN: classes.algebra.tests
 
 TUPLE: first-one ;
index 1d862a8240bcd56c74c0fef5be0e1540f65018f8..acfa8725e2b4bb8c5889b1475568b831fda5426b 100644 (file)
@@ -1,4 +1,4 @@
-USING: tools.test words sequences kernel memory accessors ;
+USING: accessors kernel memory sequences tools.test words ;
 IN: classes.builtin.tests
 
 { f } [
index 073c7c994dead02cbfa32ec31e8f51842df088f5..dfc74fe69ca67db72995b4048b53401709ab5b55 100644 (file)
@@ -1,9 +1,6 @@
-USING: alien arrays generic assocs hashtables io
-io.streams.string kernel math namespaces parser prettyprint
-sequences strings tools.test vectors words quotations classes
-classes.private classes.union classes.mixin classes.predicate
-classes.algebra definitions source-files compiler.units
-kernel.private sorting vocabs memory eval accessors sets ;
+USING: assocs classes classes.private compiler.units definitions
+eval generic io.streams.string kernel math multiline namespaces
+parser sequences sets sorting tools.test vocabs words ;
 IN: classes.tests
 
 { t } [ 3 object instance? ] unit-test
index a74febc42f9194c323675df848bd6edf5759c56e..70d85f3bfea8d2270c458f5570456e779b6d90f4 100644 (file)
@@ -1,8 +1,7 @@
 ! Copyright (C) 2015 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors classes classes.error classes.tuple
-compiler.units effects eval generic io.streams.string kernel
-math namespaces parser tools.test words words.symbol ;
+compiler.units effects eval generic kernel tools.test words ;
 IN: classes.error.tests
 
 ! Test error classes
index b0749b8723d0bb3e594bfa9d7ef442eb552449c8..d8aeb472d60b2976719ff4badf70dbdbcb25a0d2 100644 (file)
@@ -1,5 +1,4 @@
-USING: kernel tools.test generic generic.standard classes math
-accessors classes.intersection slots math.order ;
+USING: accessors generic kernel math math.order slots tools.test ;
 IN: classes.intersection.tests
 
 TUPLE: a ;
index 4ff2817905129d71353a0082feb83dfb45085c0b..fa266088338bfa0181f159e3dd21e617be5222bc 100644 (file)
@@ -1,8 +1,7 @@
 ! Copyright (C) 2011 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: classes.maybe eval generic.single kernel tools.test
-math classes accessors slots classes.algebra
-classes.algebra.private ;
+USING: accessors classes classes.algebra classes.algebra.private
+classes.maybe eval generic.single kernel math slots tools.test ;
 IN: classes.maybe.tests
 
 { t } [ 3 maybe{ integer } instance? ] unit-test
index fafab942ae3a7b9deb17a664fc6a7e25eb47051c..63d24fa4f220d4f3e6ca607685243e81172c0e64 100644 (file)
@@ -1,8 +1,7 @@
-USING: alien arrays definitions generic assocs hashtables io kernel
-math namespaces parser prettyprint sequences strings tools.test words
-quotations classes classes.private classes.union classes.mixin
-classes.predicate classes.algebra vectors source-files compiler.units
-kernel.private sorting vocabs eval ;
+USING: arrays assocs classes classes.algebra classes.mixin
+compiler.units definitions eval hashtables io.streams.string
+kernel math parser sequences source-files strings tools.test
+vectors words ;
 IN: classes.mixin.tests
 
 ! Test mixins
index bcd7751f9dffb18f1df73cae7430d064e6559106..1246bb08022c5edd9905e410e8e222fc7ffe7e72 100644 (file)
@@ -1,6 +1,5 @@
-USING: math tools.test classes.algebra words kernel sequences assocs
-accessors eval definitions compiler.units generic strings classes
-generic.single ;
+USING: accessors assocs classes classes.algebra compiler.units
+eval generic.single kernel math strings tools.test words ;
 IN: classes.predicate.tests
 
 PREDICATE: negative < integer 0 < ;
index d177e1854d472583c879631b2c9886d788e6d0d1..279ac39440caddc6af9e95fc7aec301a1c3aa84d 100644 (file)
@@ -1,4 +1,4 @@
-USING: kernel classes.singleton tools.test prettyprint io.streams.string see ;
+USING: classes.singleton io.streams.string kernel see tools.test ;
 IN: classes.singleton.tests
 
 { } [ SINGLETON: bzzt ] unit-test
index 7c2c1f0ca1398c0995824f3d1c4a9c47d7df296f..0c1719c55d4102b6437a01d37e88327796133841 100644 (file)
@@ -1,13 +1,11 @@
 USING: accessors arrays assocs calendar classes classes.algebra
 classes.private classes.tuple classes.tuple.private columns
-compiler.errors compiler.units continuations definitions
-effects eval generic generic.single generic.standard grouping
-io.streams.string kernel kernel.private math math.constants
-math.order namespaces parser parser.notes prettyprint
-quotations random see sequences sequences.private slots
-slots.private splitting strings summary threads tools.test
-vectors vocabs words words.symbol fry literals memory
-combinators.short-circuit ;
+combinators.short-circuit compiler.errors compiler.units
+definitions eval generic generic.single io.streams.string kernel
+kernel.private literals math math.constants memory namespaces
+parser parser.notes see sequences sequences.private slots
+splitting strings threads tools.test vectors vocabs words
+words.symbol ;
 IN: classes.tuple.tests
 
 TUPLE: rect x y w h ;
index 9cd014c6d945ac73061824eb895f347b91859c88..f08cde6cda6f2814d6ca7ed2c83e6c3a10bf12c9 100644 (file)
@@ -1,10 +1,7 @@
-USING: accessors alien arrays definitions generic assocs
-hashtables io kernel math namespaces parser prettyprint
-sequences strings tools.test vectors words quotations classes
-classes.private classes.union classes.mixin classes.predicate
-classes.algebra classes.union.private source-files
-compiler.units kernel.private sorting vocabs io.streams.string
-eval see math.private slots generic.single ;
+USING: accessors alien assocs classes classes.algebra
+classes.predicate classes.union classes.union.private
+compiler.units eval io.streams.string kernel math math.private
+parser quotations see sequences slots strings tools.test words ;
 IN: classes.union.tests
 
 ! DEFER: bah
index dee0e2cec231d2a4ccad17ec132904af0a2826fd..f428666a0ddc3661acf42b4f573c48694aeb91e7 100644 (file)
@@ -1,6 +1,6 @@
-USING: alien strings kernel math tools.test io prettyprint
-namespaces combinators words classes sequences accessors
-math.functions arrays combinators.private stack-checker ;
+USING: accessors arrays combinators combinators.private io
+kernel math math.functions prettyprint sequences stack-checker
+tools.test words ;
 IN: combinators.tests
 
 { 3 } [ 1 2 [ + ] call( x y -- z ) ] unit-test
index 478a8d5f4220d54257966a24e80d8419e2b6727c..7a8bfc0d8da074af001a344e2d3f34c9ce7e8d3e 100644 (file)
@@ -1,5 +1,5 @@
-USING: compiler definitions compiler.units tools.test arrays sequences words kernel
-accessors namespaces fry eval quotations math ;
+USING: arrays compiler compiler.units definitions eval fry
+kernel math namespaces quotations sequences tools.test words ;
 IN: compiler.units.tests
 
 [ [ [ ] define-temp ] with-compilation-unit ] must-infer
index ce3f36ac3fee50e89aeb4438fec0a6f2419b4312..6ea528438ab80e189fab5d40dcdc09e405b3c321 100644 (file)
@@ -1,6 +1,6 @@
-USING: accessors continuations debugger eval hashtables io
-kernel kernel.private math memory namespaces sequences
-tools.test vectors words ;
+USING: accessors continuations debugger eval io kernel
+kernel.private math memory namespaces sequences tools.test
+vectors words ;
 IN: continuations.tests
 
 : (callcc1-test) ( n obj -- n' obj )
index 94f5075ac39e4372cf5fa0c547c4ad3366c598ce..cf0c6daa4d9335501b15530d045fbc56e29d35c0 100644 (file)
@@ -1,5 +1,5 @@
-USING: tools.test generic kernel definitions sequences
-compiler.units words ;
+USING: arrays bit-arrays byte-arrays compiler.units definitions
+tools.test ;
 IN: definitions.tests
 
 GENERIC: some-generic ( a -- b )
index 78f06b252d65befec683f1445b99cb24e9c37b74..92ddde0e5b2508a228bf8c75ed02ffd7a2e82dcd 100644 (file)
@@ -1,5 +1,5 @@
-USING: destructors kernel tools.test continuations accessors
-namespaces sequences destructors.private ;
+USING: accessors continuations destructors destructors.private
+kernel namespaces sequences tools.test ;
 IN: destructors.tests
 
 TUPLE: dispose-error ;
index 247cb7720d867179d63417454789cc1c926b88af..02ac4e26c8a6a0ab547320c78e1df238b0f2371c 100644 (file)
@@ -1,5 +1,5 @@
-USING: effects effects.parser eval kernel tools.test prettyprint accessors
-quotations sequences ;
+USING: accessors effects effects.parser eval kernel prettyprint
+sequences tools.test ;
 IN: effects.tests
 
 { t } [ { "a" } { "a" } <effect> { "a" "b" } { "a" "b" } <effect> effect<= ] unit-test
index 4dd7e630ee9471242f69792f94bacc1e54dd2259..b3849cf16a2a8b1ff20aa3a92116ff17252a4d83 100644 (file)
@@ -1,5 +1,4 @@
-USING: generic.math math tools.test kernel ;
-IN: generic.math.tests
+USING: generic.math kernel math tools.test ;
 
 ! Test math-combination
 { [ [ >float ] dip ] } [ \ real \ float math-upgrade ] unit-test
index 0d813c37880c233fb8675035ec598a5668cec5fe..a9f3c6b325a1e850da3634acbf150024e3c36d91 100644 (file)
@@ -1,7 +1,5 @@
 USING: generic.parser tools.test ;
 
-IN: generic.parser.tests
-
 { t } [ ( -- ) ( -- ) method-effect= ] unit-test
 { t } [ ( a -- b ) ( x -- y ) method-effect= ] unit-test
 { f } [ ( a b -- c ) ( x -- y ) method-effect= ] unit-test
index 3eb7bc5288b15a0208baa3f9af09ed7ef17ee6af..0dc10c600d9a774dc3fc6ed7dea793e2d1557676 100644 (file)
@@ -1,5 +1,4 @@
-USING: math sequences classes growable tools.test kernel
-layouts ;
+USING: classes kernel layouts math sequences tools.test ;
 IN: growable.tests
 
 ! erg found this one
index 4b2f78aab3f1ce556206376ac719ba9ae7673927..46dc06849fb1dfc5d6f3fa965df50333566e06a1 100644 (file)
@@ -1,8 +1,7 @@
 ! Copyright (C) 2010 Daniel Ehrenberg
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors fry hash-sets kernel math prettyprint
-sequences sets sorting tools.test ;
-IN: hash-sets.tests
+USING: accessors fry hash-sets kernel math prettyprint sequences
+sets sorting tools.test ;
 
 { { 1 2 3 } } [ HS{ 1 2 3 } members natural-sort ] unit-test
 
index a3700dbd6ec9780ab78475a403d2a3a05d0edd9c..a238eef90dbd1192701f929c256da38b9f51fa06 100644 (file)
@@ -1,6 +1,5 @@
 USING: accessors assocs continuations fry hashtables kernel make
-math namespaces sequences slots.private tools.test ;
-IN: hashtables.tests
+math namespaces sequences tools.test ;
 
 { H{ } } [ { } [ dup ] H{ } map>assoc ] unit-test
 
index f8de3e1fa6622a01f561d708d8075c124854eec4..d2818b0102367122baa00f2967135b6d10a0e923 100644 (file)
@@ -1,5 +1,5 @@
-USING: io.encodings.string io.encodings.ascii tools.test strings arrays ;
-IN: io.encodings.ascii.tests
+USING: arrays io.encodings.ascii io.encodings.string strings
+tools.test ;
 
 { B{ CHAR: f CHAR: o CHAR: o } } [ "foo" ascii encode ] unit-test
 [ { 128 } >string ascii encode ] must-fail
index a4938e32c281a12de8ee056455da163089728768..0b704532d213a202f67e2fa8ce0b0da91ef63e47 100644 (file)
@@ -1,9 +1,7 @@
 ! Copyright (C) 2008 Daniel Ehrenberg.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: kernel tools.test io.encodings.utf16 arrays sbufs
-io.streams.byte-array sequences io.encodings io strings
-io.encodings.string alien.c-types alien.strings accessors classes ;
-IN: io.encodings.utf16.tests
+USING: arrays io.encodings.string io.encodings.utf16 strings
+tools.test ;
 
 { { CHAR: x } } [ B{ 0 CHAR: x } utf16be decode >array ] unit-test
 { { 0x1D11E } } [ B{ 0xD8 0x34 0xDD 0x1E } utf16be decode >array ] unit-test
index 7778f7c67b105fad8c42b2a931a45524e73ffd04..9e3170156b7331938ec0616592f2ebc4b6a735a1 100644 (file)
@@ -1,6 +1,6 @@
-USING: accessors alien.c-types alien.data kernel
-io.encodings.utf16 io.streams.byte-array tools.test ;
-IN: io.encodings.utf16n
+USING: accessors alien.data io.encodings.utf16
+io.streams.byte-array kernel tools.test ;
+IN: io.encodings.utf16n.tests
 
 : correct-endian ( obj -- ? )
     code>> little-endian? [ utf16le = ] [ utf16be = ] if ;
index 468c69a3ce94fbdd2032442acd5b7c61296e197d..efeeb708d01be9ec5b597a143b490606ed4f2389 100644 (file)
@@ -1,5 +1,5 @@
-USING: io.encodings.utf8 tools.test io.encodings.string strings arrays
-bootstrap.unicode kernel sequences ;
+USING: arrays io.encodings.string io.encodings.utf8 kernel
+sequences strings tools.test ;
 IN: io.encodings.utf8.tests
 
 : decode-utf8-w/stream ( array -- newarray )
index b4e3c9c7152100508c501a48da0d8cb93d975016..98a43975a3e9f90df6cc06979d0170f397bedce5 100644 (file)
@@ -1,5 +1,5 @@
-USING: accessors io io.streams.string kernel math parser sbufs
-sequences tools.test words namespaces strings ;
+USING: accessors io io.streams.string kernel math namespaces
+parser sbufs sequences strings tools.test words ;
 IN: io.tests
 
 { f } [
index d8f3e15f65d1f37b52043fdcdddef48fbb8cd309..8f0bb63a7597f27a392d5e7c08407267be5c5767 100644 (file)
@@ -1,8 +1,8 @@
-USING: tools.test io.streams.byte-array io.encodings.binary
-io.encodings.utf8 io kernel arrays strings namespaces math
-specialized-arrays alien.c-types alien.data io.encodings.ascii ;
-SPECIALIZED-ARRAY: int
+USING: alien.c-types alien.data arrays io io.encodings.ascii
+io.encodings.binary io.encodings.utf8 io.streams.byte-array
+kernel math specialized-arrays strings tools.test ;
 IN: io.streams.byte-array.tests
+SPECIALIZED-ARRAY: int
 
 { B{ } } [ B{ } binary [ contents ] with-byte-reader ] unit-test
 
index f779a8744e9a0a4b4e965cd4189c9d239cc377c1..bbbe94adc008734457a2c52966492f829b99a9be 100644 (file)
@@ -1,8 +1,7 @@
-USING: arrays byte-arrays kernel kernel.private literals math
-memory namespaces sequences tools.test math.private quotations
-continuations prettyprint io.streams.string debugger assocs
-sequences.private accessors locals.backend grouping words
-system alien alien.accessors kernel.private ;
+USING: accessors alien alien.accessors arrays assocs byte-arrays
+continuations debugger grouping io.streams.string kernel
+kernel.private literals locals.backend math memory namespaces
+prettyprint sequences sequences.private tools.test words ;
 IN: kernel.tests
 
 { 0 } [ f size ] unit-test
index 5c9b5fd29f625dbe9a06cb321ca83edc57947069..98bdc92e44686f453cbcda27e5d77656d0fb3927 100644 (file)
@@ -1,5 +1,4 @@
 USING: layouts math tools.test ;
-IN: system.tests
 
 { t } [ cell integer? ] unit-test
 { t } [ bootstrap-cell integer? ] unit-test
index cb05afe5596fd5b036f01863de444bf4372799cb..d61638ae5bdfd529c35dbc93c2eb91c5e91db208 100644 (file)
@@ -1,6 +1,4 @@
-
 USING: make sequences tools.test ;
-IN: make
 
 { "ABCD" } [ [ "ABCD" [ , ] each ] "" make ] unit-test
 
index 88169ec5b976d1787ad77dcbc6d7242d4897d29a..8350a297b528f0c91fea4fa3ef74a0d560f27363 100644 (file)
@@ -1,6 +1,5 @@
-USING: kernel math math.constants math.order tools.test sequences
-grouping ;
-IN: math.floats.tests
+USING: grouping kernel math math.constants math.order sequences
+tools.test ;
 
 { t } [ 0.0 float? ] unit-test
 { t } [ 3.1415 number? ] unit-test
index ddb6c908db2de6c9658db304db41ed2514e940fe..0786bfda209589dfae4b0c3900ce845dbb193d68 100644 (file)
@@ -1,6 +1,6 @@
-USING: kernel math math.functions math.order namespaces
-prettyprint math.private continuations tools.test sequences
-random prettyprint.config ;
+USING: continuations kernel math math.functions math.order
+math.private namespaces prettyprint prettyprint.config random
+sequences tools.test ;
 IN: math.integers.tests
 
 10 number-base [
index d7487502599c38258742c0dc4f06568943bd7f24..5c309c92dcfa7415a7975c16a095b63e84e92beb 100644 (file)
@@ -1,4 +1,4 @@
-USING: kernel layouts math math.private namespaces make tools.test ;
+USING: kernel layouts make math math.private tools.test ;
 IN: math.tests
 
 { } [ 5 [ ] times ] unit-test
index 9a896f0fad2fb780be5fbe0b866b857c4626a8b0..b05d4cc35e9ad47b270268d53f99a1c1806b45e9 100644 (file)
@@ -1,5 +1,4 @@
-USING: kernel math.order tools.test ;
-IN: math.order.tests
+USING: math.order tools.test ;
 
 { +lt+ } [ "ab" "abc" <=> ] unit-test
 { +gt+ } [ "abc" "ab" <=> ] unit-test
index d67fb15c32ed9ee75d60fec393bb397355e314e4..5dca74660cb78c9a10422b1a9da4fd4381012e4e 100644 (file)
@@ -1,6 +1,4 @@
-USING: kernel layouts literals math math.parser sequences
-tools.test ;
-IN: math.parser.tests
+USING: layouts literals math math.parser sequences tools.test ;
 
 { f }
 [ f string>number ]
index 0b44e95f1fd549f21a255d83f38b2aaee79813c6..9983351d89e505a594cec0ee01b9ca45cf455ed7 100644 (file)
@@ -1,6 +1,4 @@
-USING: kernel math math.order math.parser math.ratios
-math.functions tools.test ;
-IN: math.ratios.tests
+USING: kernel math math.functions math.parser tools.test ;
 
 { 1 2 } [ 1/2 >fraction ] unit-test
 
index 07e82204f613c9a22fe141f8588954de194f6e65..4e858f3b39076f78be6d833d9a09f3efed53ce41 100644 (file)
@@ -1,6 +1,6 @@
-USING: accessors byte-arrays effects kernel kernel.private math memory
-prettyprint io sequences tools.test words namespaces layouts classes
-classes.builtin arrays quotations system ;
+USING: accessors arrays byte-arrays effects kernel
+kernel.private math memory namespaces quotations sequences
+tools.test words ;
 FROM: tools.memory => data-room code-room ;
 IN: memory.tests
 
index 08aef97fdcc900fb1ef1fe492e9f829e1107f773..48f3b1cf1256b221b133efdc9526cb1f330b6b39 100644 (file)
@@ -1,5 +1,5 @@
 USING: assocs compiler.tree.debugger kernel namespaces
-tools.test words ;
+tools.test ;
 IN: namespaces.tests
 
 H{ } clone "test-namespace" set
index e60333519c90e4a7e344f3394b659cb8b4df70c1..8f0d78b0239780fcb79921f8e723e683b61a023d 100644 (file)
@@ -1,10 +1,8 @@
-USING: arrays math parser tools.test kernel generic words
-io.streams.string namespaces classes effects source-files assocs
-sequences strings io.files io.pathnames definitions
-continuations sorting classes.tuple compiler.units debugger
-vocabs vocabs.loader accessors eval combinators lexer
-vocabs.parser words.symbol multiline source-files.errors
-tools.crossref grouping sets ;
+USING: accessors arrays assocs classes compiler.units effects
+eval generic grouping io.pathnames io.streams.string kernel
+lexer math multiline namespaces parser sequences sets
+source-files source-files.errors strings tools.crossref
+tools.test vocabs vocabs.parser words words.symbol ;
 IN: parser.tests
 
 { 1 [ 2 [ 3 ] 4 ] 5 }
index 9093e9960e198a77be9eab66b5d7cab9fe85c8ed..4deb0769bcbb711ade59ac5d9961a1ebea7001a1 100644 (file)
@@ -1,5 +1,4 @@
-USING: math kernel quotations tools.test sequences ;
-IN: quotations.tests
+USING: kernel math quotations sequences tools.test ;
 
 { [ 3 ] } [ 3 [ ] curry ] unit-test
 { [ \ + ] } [ \ + [ ] curry ] unit-test
index 9d4c76b88a1c2bc4fb89bba967ea2ebe070afb53..06212ddb0c3586b9ecf1dfa25c758ac1c9b5584e 100644 (file)
@@ -1,6 +1,5 @@
 USING: classes kernel math namespaces sbufs sequences
 sequences.private strings tools.test ;
-IN: sbufs.tests
 
 { 5 } [ "Hello" >sbuf length ] unit-test
 
index baf2b8bbe17fed217d6fa47819c241fff25b39c6..cada259e7560f6a02260bd64be0d4b18e23ac8a6 100644 (file)
@@ -1,7 +1,6 @@
-USING: arrays byte-arrays kernel math math.order math.parser
-namespaces sequences kernel.private sequences.private strings
-sbufs tools.test vectors assocs generic vocabs.loader
-generic.single math.vectors math.functions ;
+USING: arrays assocs byte-arrays generic.single kernel make math
+math.functions math.order math.parser math.vectors sbufs
+sequences sequences.private strings tools.test vectors ;
 IN: sequences.tests
 
 { "empty" } [ { } [ "empty" ] [ "not empty" ] if-empty ] unit-test
@@ -345,8 +344,6 @@ M: bogus-hashcode hashcode* 2drop 0 >bignum ;
     { 1 2 3 4 5 6 7 8 } [ H{ { 11 "hi" } } at ] map-find
 ] unit-test
 
-USE: make
-
 { { "a" 1 "b" 1 "c" } }
 [ 1 { "a" "b" "c" } [ [ dup , ] [ , ] interleave drop ] { } make ] unit-test
 
index 40ad691842b6e9d971ffb6d729d05a844b80ebcb..1a109c1da6f5cc17431dcc1c5f0dd9c4b1f6f80d 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2010 Daniel Ehrenberg, Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: sets tools.test kernel prettyprint hash-sets sorting
-math sequences bit-sets bit-arrays ;
+USING: bit-arrays bit-sets kernel math sequences sets sorting
+tools.test ;
 IN: sets.tests
 
 { V{ 1 2 3 } } [ 3 V{ 1 2 } clone [ adjoin ] keep ] unit-test
index 53c9c2fa1b85fe23cd9feb3d73da200b85cc3d2a..6405db4cadc13223ec75addd0d4e83b36459a509 100644 (file)
@@ -1,5 +1,5 @@
-USING: math accessors slots strings generic.single kernel
-tools.test generic words parser eval math.functions arrays ;
+USING: accessors arrays generic.single kernel math
+math.functions slots tools.test words ;
 IN: slots.tests
 
 TUPLE: r/w-test foo ;
index 8c9a13a700ab7e911393c355513c97364ac9f5ff..70716c905b3016d40da4cb24585012340a2a91a9 100644 (file)
@@ -1,6 +1,5 @@
-USING: sorting sequences kernel math math.order random
-tools.test vectors sets vocabs grouping ;
-IN: sorting.tests
+USING: grouping kernel math math.order random sequences sets
+sorting tools.test vocabs ;
 
 { { } } [ { } natural-sort ] unit-test
 
index 114d1d01babe5b77ddcb1de1a5a43040e89b11fc..b96458fccbacd61cde222d79e57f0197f9592d22 100644 (file)
@@ -1,5 +1,5 @@
 USING: assocs compiler.errors compiler.units definitions
-namespaces source-files.errors tools.test words ;
+namespaces tools.test words ;
 IN: source-files.errors.tests
 
 DEFER: forget-test
index 68107807249ede77d2381e8a3e5cd692fcc9dc54..118cf430ba45f28f0def18ad6f2af4176012a152 100644 (file)
@@ -1,5 +1,4 @@
-IN: source-files.tests
-USING: source-files tools.test assocs sequences strings
-namespaces kernel ;
+USING: assocs namespaces sequences source-files strings
+tools.test ;
 
 { { } } [ source-files get keys [ string? ] reject ] unit-test
index 4b871c6ee246788378c25ee0d29b197fee2afbe4..875f8061fd4e052e558dcbe2384d93a7cac3b3e9 100644 (file)
@@ -1,5 +1,4 @@
-USING: splitting tools.test kernel sequences arrays strings ascii math ;
-IN: splitting.tests
+USING: ascii kernel math sequences splitting strings tools.test ;
 
 { "hello" "world ." } [ "hello world ." " " split1 ] unit-test
 { "hello" "world-+." } [ "hello-+world-+." "-+" split1 ] unit-test
index dfc5c0efcaaf87895dbfe164efaf118f39b2d890..6e29b659762c9f4ec3364d6892f499cc39c40bb8 100644 (file)
@@ -1,6 +1,4 @@
-USING: accessors eval strings.parser strings.parser.private
-tools.test ;
-IN: strings.parser.tests
+USING: eval strings.parser tools.test ;
 
 { "Hello\n\rworld" } [ "Hello\\n\\rworld" unescape-string ] unit-test
 
index e676d924064424684dab10dce24176c15352fac6..ae3b8746204f81b762fe03511957478c5da52298 100644 (file)
@@ -1,7 +1,7 @@
-USING: continuations kernel literals math math.order namespaces make
-strings strings.private sbufs tools.test sequences vectors
-arrays memory prettyprint io.streams.null kernel.private ;
-IN: strings.tests
+USING: arrays continuations io.streams.null kernel
+kernel.private literals make math math.order memory namespaces
+prettyprint sbufs sequences strings strings.private tools.test
+vectors ;
 
 { CHAR: b } [ 1 >bignum "abc" nth ] unit-test
 
index 64f8410690bbf277affa174bd456d6b65643340b..4e927777d5f20545b7e6d4b232b901d0c527f2b4 100644 (file)
@@ -1,5 +1,4 @@
 USING: arrays sequences system tools.test ;
-IN: system.tests
 
 { { t t t } } [
     vm-version vm-compiler vm-compile-time 3array
index 8bec970377b1f3140ed964d32bc60df0f055bf38..e208c29693cbf7fbdcf46068d5b2b0d7a0ac1fd7 100644 (file)
@@ -1,7 +1,5 @@
-USING: accessors arrays kernel kernel.private math namespaces
-sequences sequences.private strings tools.test vectors
-continuations random growable classes ;
-IN: vectors.tests
+USING: accessors arrays classes continuations kernel math
+namespaces random sequences tools.test vectors ;
 
 { } [ 10 [ [ -1000000 <vector> ] ignore-errors ] times ] unit-test
 
index 1738a90b4a3932e1450861927ffebd60f2cda7bd..5f27237f8ed7bf6d5a46624ff1247d1821b3c2e0 100644 (file)
@@ -1,8 +1,7 @@
-USING: vocabs.loader tools.test continuations vocabs math
-kernel arrays sequences namespaces io.streams.string sets
-parser source-files words assocs classes.tuple definitions
-debugger compiler.units accessors eval vocabs.hierarchy
-combinators vocabs.parser grouping vocabs.files vocabs.refresh ;
+USING: accessors compiler.units continuations debugger
+definitions eval io.streams.string kernel math namespaces parser
+prettyprint sequences sets source-files tools.test vocabs
+vocabs.files vocabs.loader vocabs.parser vocabs.refresh words ;
 IN: vocabs.loader.tests
 
 ! This vocab should not exist, but just in case...
@@ -46,7 +45,7 @@ IN: vocabs.loader.tests
 
     [ t ] [
         "resource:core/vocabs/loader/test/a/a.factor"
-        path>source-file definitions>> dup USE: prettyprint .
+        path>source-file definitions>>
         "v-l-t-a-hello" "vocabs.loader.test.a" lookup-word dup .
         swap first in?
     ] unit-test
index 1cd2d309a9da97e9319013e0926f66ded1477014..8d91e2d28838a4c05845857baa486e9a24d6310f 100644 (file)
@@ -1,6 +1,6 @@
+USING: accessors compiler.units definitions eval kernel
+tools.test vocabs vocabs.parser words ;
 IN: vocabs.parser.tests
-USING: vocabs.parser tools.test eval kernel accessors definitions
-compiler.units words vocabs ;
 
 [ "FROM: kernel => doesnotexist ;" eval( -- ) ]
 [ error>> T{ no-word-in-vocab { word "doesnotexist" } { vocab "kernel" } } = ]
index 86d6d8cfe9aabd6115ba02663dcdac68e7bc0af8..bcf131426b9484973e8baf7b7197ba54922c7ad3 100644 (file)
@@ -1,6 +1,4 @@
-! Unit tests for vocabs vocabulary
-USING: vocabs tools.test ;
-IN: vocabs.tests
+USING: tools.test vocabs ;
 
 { f } [ "kernel" vocab-main ] unit-test
 
index 45be7e1a05252c8b5da6551fdc4266222c3b815f..99471e355cab9ed18eae79a0e6f98f3f146fc060 100644 (file)
@@ -1,4 +1,4 @@
-USING: math eval lexer tools.test effects sequences ;
+USING: effects eval math tools.test ;
 IN: words.alias.tests
 
 ALIAS: foo +
index a1966ed89fe5749a9ea501676a2b368598c55fab..443ebbb32e9eb2e6a1cb82aaee59066f37c46069 100644 (file)
@@ -1,5 +1,5 @@
+USING: math tools.test words.constant ;
 IN: words.constant.tests
-USING: tools.test math words.constant ;
 
 CONSTANT: a +
 
index 0ca6b62936b4e01062949ca1282e2497cefbe197..b1bdde27b7a66a43bd5985c345e7501525882a1b 100644 (file)
@@ -1,7 +1,6 @@
-USING: arrays generic assocs kernel math namespaces
-sequences tools.test words definitions parser quotations
-vocabs continuations classes.tuple compiler.units
-io.streams.string accessors eval words.symbol grouping ;
+USING: accessors arrays compiler.units definitions eval generic
+io.streams.string kernel math namespaces parser sequences
+tools.test vocabs words words.symbol ;
 IN: words.tests
 
 { 4 } [