]> gitweb.factorcode.org Git - factor.git/commitdiff
more test IN: cleanup.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 15 Feb 2018 16:45:08 +0000 (08:45 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 15 Feb 2018 16:45:08 +0000 (08:45 -0800)
143 files changed:
basis/math/combinatorics/combinatorics-tests.factor
extra/24-game/24-game-tests.factor
extra/99-bottles/99-bottles-tests.factor
extra/arrays/shaped/shaped-tests.factor
extra/asn1/asn1-tests.factor
extra/assocs/extras/extras-tests.factor
extra/backtrack/backtrack-tests.factor
extra/base85/base85-tests.factor
extra/benchmark/regex-dna/regex-dna-tests.factor
extra/benchmark/reverse-complement/reverse-complement-tests.factor
extra/bencode/bencode-tests.factor
extra/boyer-moore/boyer-moore-tests.factor
extra/brainfuck/brainfuck-tests.factor
extra/calendar/elapsed/elapsed-tests.factor
extra/calendar/holidays/canada/canada-tests.factor
extra/calendar/holidays/us/us-tests.factor
extra/checksums/process/process-tests.factor
extra/color-table/color-table-tests.factor [deleted file]
extra/colors/cmyk/cmyk-tests.factor
extra/colors/distances/distances-tests.factor
extra/colors/flex-hex/flex-hex-tests.factor
extra/colors/hsl/hsl-tests.factor
extra/colors/lab/lab-tests.factor
extra/colors/lch/lch-tests.factor
extra/colors/luv/luv-tests.factor
extra/colors/ryb/ryb-tests.factor
extra/colors/xyy/xyy-tests.factor
extra/colors/xyz/xyz-tests.factor
extra/colors/yiq/yiq-tests.factor
extra/colors/yuv/yuv-tests.factor
extra/combinators/extras/extras-tests.factor
extra/ctags/ctags-tests.factor
extra/cuesheet/cuesheet-tests.factor
extra/dice/dice-tests.factor
extra/elf/elf-tests.factor
extra/enigma/enigma-tests.factor
extra/fftw/fftw-tests.factor
extra/fjsc/fjsc-tests.factor
extra/flip-text/flip-text-tests.factor
extra/fuel/eval/eval-tests.factor
extra/fuel/help/help-tests.factor
extra/fuel/pprint/pprint-tests.factor
extra/gml/gml-tests.factor
extra/gml/viewer/viewer-tests.factor
extra/google/charts/charts-tests.factor
extra/grid-meshes/grid-meshes-tests.factor
extra/grouping/extras/extras-tests.factor
extra/hash-sets/numbers/numbers-tests.factor
extra/hashtables/numbers/numbers-tests.factor
extra/hello-unicode/hello-unicode-tests.factor [deleted file]
extra/html/elements/elements-tests.factor
extra/html/parser/analyzer/analyzer-tests.factor
extra/html/parser/parser-tests.factor
extra/html/parser/printer/printer-tests.factor
extra/html/parser/utils/utils-tests.factor
extra/images/bitmap/bitmap-tests.factor
extra/images/pbm/pbm-tests.factor
extra/images/pgm/pgm-tests.factor
extra/images/png/png-tests.factor
extra/images/ppm/ppm-tests.factor
extra/images/tiff/tiff-tests.factor
extra/ini-file/ini-file-tests.factor
extra/io/binary/fast/fast-tests.factor
extra/io/encodings/detect/detect-tests.factor
extra/io/streams/peek/peek-tests.factor
extra/irc/messages/messages-tests.factor
extra/jamshred/oint/oint-tests.factor
extra/literate/literate-tests.factor
extra/llvm/ffi/ffi-tests.factor
extra/llvm/llvm-tests.factor
extra/llvm/reader/reader-tests.factor
extra/machine-learning/decision-trees/decision-trees-tests.factor
extra/machine-learning/functions/functions-tests.factor
extra/machine-learning/label-binarizer/label-binarizer-tests.factor
extra/machine-learning/label-encoder/label-encoder-tests.factor
extra/machine-learning/rebalancing/rebalancing-tests.factor
extra/magic/magic-tests.factor
extra/mason/child/child-tests.factor
extra/mason/common/common-tests.factor
extra/mason/disk/disk-tests.factor
extra/mason/email/email-tests.factor
extra/mason/platform/platform-tests.factor
extra/mason/release/archive/archive-tests.factor
extra/mason/release/branch/branch-tests.factor
extra/mason/release/upload/upload-tests.factor [deleted file]
extra/math/affine-transforms/affine-transforms-tests.factor
extra/math/approx/approx-tests.factor
extra/math/binpack/binpack-tests.factor
extra/math/blas/matrices/matrices-tests.factor
extra/math/blas/vectors/vectors-tests.factor
extra/math/combinatorics/bits/bits-tests.factor
extra/math/combinators/combinators-tests.factor
extra/math/compare/compare-tests.factor
extra/math/distances/distances-tests.factor
extra/math/dual/dual-tests.factor
extra/math/extras/extras-tests.factor
extra/math/factorials/factorials-tests.factor
extra/math/finance/finance-tests.factor
extra/math/hashcodes/hashcodes-tests.factor
extra/math/matrices/laplace/laplace-tests.factor
extra/math/matrices/simd/simd-tests.factor
extra/math/numerical-integration/numerical-integration-tests.factor
extra/math/primes/solovay-strassen/solovay-strassen-tests.factor
extra/math/primes/twins/twins-tests.factor
extra/math/text/english/english-tests.factor
extra/math/text/utils/utils-tests.factor
extra/math/transforms/bwt/bwt-tests.factor
extra/math/transforms/fft/fft-tests.factor
extra/math/transforms/haar/haar-tests.factor
extra/math/vectors/homogeneous/homogeneous-tests.factor
extra/memory/piles/piles-tests.factor
extra/metar/metar-tests.factor
extra/midi/midi-tests.factor
extra/models/history/history-tests.factor
extra/money/money-tests.factor
extra/morse/morse-tests.factor
extra/msgpack/msgpack-tests.factor
extra/msxml-to-csv/msxml-to-csv-tests.factor
extra/noise/noise-tests.factor
extra/oauth1/oauth1-tests.factor
extra/oauth2/oauth2-tests.factor
extra/pair-rocket/pair-rocket-tests.factor
extra/parser-combinators/parser-combinators-tests.factor
extra/pdf/pdf-tests.factor [deleted file]
extra/pdf/units/units-tests.factor
extra/pdf/wrap/wrap-tests.factor
extra/peg/javascript/javascript-tests.factor
extra/peg/javascript/parser/parser-tests.factor
extra/peg/javascript/tokenizer/tokenizer-tests.factor
extra/peg/pl0/pl0-tests.factor
extra/poker/poker-tests.factor
extra/pop3/pop3-tests.factor
extra/rpn/rpn-tests.factor
extra/semantic-versioning/semantic-versioning-tests.factor
extra/sets/extras/extras-tests.factor
extra/smalltalk/eval/eval-tests.factor
extra/smalltalk/printer/printer-tests.factor
extra/subrip-subtitles/subrip-subtitles-tests.factor
extra/taxes/usa/usa-tests.factor
extra/terminfo/terminfo-tests.factor
extra/time-server/time-server-tests.factor [deleted file]
extra/tzinfo/tzinfo-tests.factor
extra/usa-cities/usa-cities-tests.factor

index 55fca4b72b63e7d905b658a5401ef5ba8d21873c..0587ca44431b17b2ff78dabde81fa30ba60ee917 100644 (file)
@@ -1,6 +1,5 @@
 USING: arrays kernel math math.combinatorics
 math.combinatorics.private tools.test sequences ;
-IN: math.combinatorics.tests
 
 { 1 } [ -1 factorial ] unit-test ! required by other math.combinatorics words
 { 1 } [ 0 factorial ] unit-test
index d68b3896980d34dcc58cab32afd376a3b64a3f22..959001b087c0a69614bdd9a2a4d98980bd6e0d9b 100644 (file)
@@ -1,5 +1,5 @@
-USING: 24-game io.streams.string kernel math sequences tools.test ;
-IN: 24-game.tests
+USING: 24-game io.streams.string kernel math sequences
+tools.test ;
 
 { t } [ make-24 first4 makes-24? ] unit-test
 
index 0f71c7130c6b0cd850b3868d0510d1aa273dda7b..d668ee0eaeddc178b0a867a1d3c56cbf2b4c41dd 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2011 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: 99-bottles io.streams.string tools.test ;
-IN: 99-bottles.tests
 
 {
 "99 bottles of beer on the wall, 99 bottles of beer.
index 07c62f6355d148d3c378bff88b42564b94f12fd7..f1c05a330c23c5bead8aa3ada18ddf92572c895f 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2012 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors arrays.shaped kernel math sequences tools.test ;
-IN: arrays.shaped.tests
 
 { t } [
     { 5 5 } increasing
index 9e56459a049cc010cd386c8dc09c10fe36a34111..ee2575e09e07ab899c867228bc6448bdc8f98b5a 100644 (file)
@@ -1,5 +1,4 @@
 USING: asn1 asn1.ldap io io.streams.string tools.test ;
-IN: asn1.tests
 
 { 6 } [
     "\u000002\u000001\u000006" [ asn-syntax read-ber ] with-string-reader
index ea7e7f8dbbc142650f57a2183e66c2cc565f07da..05c7ca8251f6640502f105475b60d69582010b3f 100644 (file)
@@ -1,8 +1,6 @@
 
 USING: assocs.extras kernel sequences tools.test ;
 
-IN: assocs.extras
-
 { f } [ f { } deep-at ] unit-test
 { f } [ f { "foo" } deep-at ] unit-test
 { f } [ H{ } { 1 2 3 } deep-at ] unit-test
index 7fb2c55752a6ec32c78ca72bfbe6d0c87608cca1..034c0cb0e07ee84c3cc96c328eb9b86d82b9e3a4 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (c) 2009 Samuel Tardieu.
 ! See See http://factorcode.org/license.txt for BSD license.
 USING: backtrack math tools.test ;
-IN: backtrack.tests
 
 cut-amb
 { 1 } [ { 1 2 } amb ] unit-test
index 2b3171fd7b366c60a2dd6f5ec10936761c60ca1b..d190d7483e76089b58c1139aea35286c55597800 100644 (file)
@@ -1,5 +1,4 @@
 USING: kernel strings tools.test ;
-IN: base85
 
 { t } [ "Hello, world" dup >base85 base85> >string = ] unit-test
 
index e0ae048c88df4f1bb2f2f822aa2afb02ccec5837..3290e47842f82ab72edcce69c483aff67bde8d9d 100644 (file)
@@ -1,6 +1,5 @@
 USING: benchmark.regex-dna io io.files io.encodings.ascii
 io.streams.string kernel tools.test splitting ;
-IN: benchmark.regex-dna.tests
 
 { t } [
     "resource:extra/benchmark/regex-dna/regex-dna-test-in.txt"
index d0f1918bdad49b807f105d62fcf67de4294344a5..0c253b081256efbe6d05943fa63ef9299893b0b8 100644 (file)
@@ -1,4 +1,3 @@
-IN: benchmark.reverse-complement.tests
 USING: benchmark.reverse-complement checksums checksums.md5
 io.files io.files.temp kernel math.parser tools.test ;
 
index e97de29d504c1168c7da3613e8c9ce51092a5761..1d18c6c205c3fa2b0d3e5c2688f2d3285ea8ab38 100644 (file)
@@ -1,5 +1,4 @@
-USING: tools.test ;
-IN: bencode
+USING: bencode tools.test ;
 
 { "i42e" } [ 42 >bencode ] unit-test
 { "i0e" } [ 0 >bencode ] unit-test
index 23e8bef9d82dab32ea9e6c6913dd9fe16d8c5a57..ef5a9e18c6dff73dc5ecbdee31fac66e6898be78 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2010 Dmitry Shubin.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test boyer-moore ;
-IN: boyer-moore.tests
 
 { 0 } [ "qwerty" "" search ] unit-test
 { 0 } [ "" "" search ] unit-test
index 2f8aa2909e93de8272ac323d5a4e24e90ef23eee..f40608eac36ce64e4bd824471094552979fcd958 100644 (file)
@@ -4,9 +4,6 @@
 USING: brainfuck io.streams.string kernel literals math
 math.parser math.ranges sequences tools.test ;
 
-IN: brainfuck
-
-
 [ "+" run-brainfuck ] must-infer
 [ "+" get-brainfuck ] must-infer
 
index 4373f4f207227492aea4416e41d22298021484dc..e3faae7f2b7d843a34b03c4b623339c3e0a0e6b2 100644 (file)
@@ -3,8 +3,6 @@
 
 USING: calendar calendar.elapsed kernel tools.test ;
 
-IN: calendar.elapsed.tests
-
 [ -1 elapsed-time ] [ "negative seconds" = ] must-fail-with
 
 { "0s" } [ 0 elapsed-time ] unit-test
index 1ebafdae7f0d35690ae3771ea49d2b7e96c539b6..379428834e71200efa74e31764736dda00258003 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: calendar.holidays calendar.holidays.canada kernel
-tools.test ;
-IN: calendar.holidays.canada.tests
+sequences tools.test ;
 
-{ } [ 2009 canada holidays drop ] unit-test
+{ 1 } [ 2009 canadian-federal holidays length ] unit-test
index 61396ea0606527352a83b94ecbe3e23c166601d7..67ac8fc1edb5c1c39897c68b347c46733db0d352 100644 (file)
@@ -2,6 +2,5 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: calendar.holidays calendar.holidays.us kernel sequences
 tools.test ;
-IN: calendar.holidays.us.tests
 
 { 10 } [ 2009 us-federal holidays length ] unit-test
index 7cf12cdb4e715b3d7ba92b3ba20de2ef9b3ff62a..819e234f4cd5ae56bcc8a52c080dbdf205e49626 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2016 Alexander Ilin.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test checksums.process ;
-IN: checksums.process.tests
 
 { "" } [ "" trim-hash ] unit-test
 { "" } [ " aoeu" trim-hash ] unit-test
diff --git a/extra/color-table/color-table-tests.factor b/extra/color-table/color-table-tests.factor
deleted file mode 100644 (file)
index 69f754d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test color-table ;
-IN: color-table.tests
index 071bb83a6423679790fc842028966477714f9c0e..bd9894d5c192392f822f56670090f21366e39281 100644 (file)
@@ -1,10 +1,8 @@
 ! Copyright (C) 2013 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: arrays colors kernel locals math.functions math.ranges
-sequences tools.test ;
-
-IN: colors.cmyk
+USING: arrays colors colors.cmyk kernel locals math.functions
+math.ranges sequences tools.test ;
 
 { t } [
     0.0 1.0 0.1 <range> [| r |
index f73bfb2fb34009d0e29ee388445656408f666f13..cd5df436d644f5b5d89a04c18ccc82dcdaadaeaf 100644 (file)
@@ -1,5 +1,4 @@
-USING: colors combinators tools.test ;
-IN: colors.distances
+USING: colors colors.distances combinators tools.test ;
 
 {
     0x1.05d584e1086dep6 ! 65.45851470579098
index 036f7fe2572c7ef0ae793d07825a21bf77c3879b..0578f5f1236abafe199f6414a1eec2e75f6b8c40 100644 (file)
@@ -1,6 +1,4 @@
-USING: tools.test ;
-
-IN: colors.flex-hex
+USING: colors.flex-hex tools.test ;
 
 { "00b000" } [ "#zqbttv" flex-hex ] unit-test
 
index 8b12019e6fcf6b500420f4d2347371ba262cde2b..09fafa6b2e662fa11225b280917fc2b696edf30a 100644 (file)
@@ -1,10 +1,8 @@
 ! Copyright (C) 2013 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: arrays colors kernel locals math.functions math.ranges
-sequences tools.test ;
-
-IN: colors.hsl
+USING: arrays colors colors.hsl kernel locals math.functions
+math.ranges sequences tools.test ;
 
 { t } [
     0.0 1.0 0.1 <range> [| r |
index c1af98930ef4ef183b8a2222a15bfdd3e26511e2..3790bd2803c0434d28e092f47d7a1f8d114472d4 100644 (file)
@@ -1,10 +1,8 @@
 ! Copyright (C) 2014 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: arrays colors kernel locals math.functions math.ranges
-sequences tools.test ;
-
-IN: colors.lab
+USING: arrays colors colors.lab kernel locals math.functions
+math.ranges sequences tools.test ;
 
 { t } [
     0.0 1.0 0.1 <range> [| r |
index 9717a6f7624080f80de4b363c862648135df7199..6811cfbda5f60857d8fff279c347938b5cfd2e51 100644 (file)
@@ -1,10 +1,8 @@
 ! Copyright (C) 2014 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: arrays colors kernel locals math.functions math.ranges
-sequences tools.test ;
-
-IN: colors.lch
+USING: arrays colors colors.lch kernel locals math.functions
+math.ranges sequences tools.test ;
 
 { t } [
     0.0 1.0 0.1 <range> [| r |
index 6f4f7f7242d89b7746bc56c6472331a49074de75..c47365ae2f9e025317af08f8e2a59a94db07b095 100644 (file)
@@ -1,10 +1,8 @@
 ! Copyright (C) 2014 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: arrays colors kernel locals math.functions math.ranges
-sequences tools.test ;
-
-IN: colors.luv
+USING: arrays colors colors.luv kernel locals math.functions
+math.ranges sequences tools.test ;
 
 { t } [
     0.0 1.0 0.1 <range> [| r |
index e8922e382eb840d3940869dd81dd03c545aeba04..18bcd3812e1d07bc9337b253ddf887b863a98057 100644 (file)
@@ -1,10 +1,8 @@
 ! Copyright (C) 2013 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: arrays colors kernel locals math.functions math.ranges
-sequences tools.test ;
-
-IN: colors.ryb
+USING: arrays colors colors.ryb kernel locals math.functions
+math.ranges sequences tools.test ;
 
 { t } [
     0.0 1.0 0.1 <range> [| r |
index 4907ae68c2261fe6cad945e1cb0d8f4124e5d918..d4c0b3ac4a6df3866b40aa6cc122680cd6edec50 100644 (file)
@@ -1,10 +1,8 @@
 ! Copyright (C) 2014 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: arrays colors kernel locals math.functions math.ranges
-sequences tools.test ;
-
-IN: colors.xyy
+USING: arrays colors colors.xyy kernel locals math.functions
+math.ranges sequences tools.test ;
 
 { t } [
     0.0 1.0 0.1 <range> [| r |
index 0c0b1da834f1c8bf3144bd248ce0c1dd55b0ac24..7984859f00dc8b8301c57d1ca1aae159663d26a9 100644 (file)
@@ -1,10 +1,8 @@
 ! Copyright (C) 2014 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: arrays colors kernel locals math.functions math.ranges
-sequences tools.test ;
-
-IN: colors.xyz
+USING: arrays colors colors.xyz kernel locals math.functions
+math.ranges sequences tools.test ;
 
 { t } [
     0.0 1.0 0.1 <range> [| r |
index 0be6b2d57cc1065699e58b66b2cef8375b4542c8..dbb5b3f5b2549e744fe8913518d24ee12bf61fa0 100644 (file)
@@ -1,10 +1,8 @@
 ! Copyright (C) 2013 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: arrays colors kernel locals math.functions math.ranges
-sequences tools.test ;
-
-IN: colors.yiq
+USING: arrays colors colors.yiq kernel locals math.functions
+math.ranges sequences tools.test ;
 
 { t } [
     0.0 1.0 0.1 <range> [| r |
index eba32266b2682103dcd5c2164a04b64c11156e66..024e7d4528869cd871eef446460df1579ba6d762 100644 (file)
@@ -1,10 +1,8 @@
 ! Copyright (C) 2013 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: arrays colors kernel locals math.functions math.ranges
-sequences tools.test ;
-
-IN: colors.yuv
+USING: arrays colors colors.yuv kernel locals math.functions
+math.ranges sequences tools.test ;
 
 { t } [
     0.0 1.0 0.1 <range> [| r |
index dc9e7fa7c59a37bdc53897d650ee335622a7ddea..3ca171eb053d017deecd3c25f7e7d26ac5cb717f 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: combinators.extras io.files kernel math sequences
 tools.test ;
-IN: combinators.extras.tests
 
 { "a b" }
 [ "a" "b" [ " " glue ] once ] unit-test
index 5c502c2dee669528ca72c480a20fb9784140215f..420b5bd4b5b65b48526353cfd2d1e6839e7e4485 100644 (file)
@@ -1,6 +1,5 @@
 USING: arrays ctags.private io.backend kernel sequences
 tools.test ;
-IN: ctags.tests
 
 { t } [
   "if\t" "resource:extra/unix/unix.factor" normalize-path "\t91" 3append
index 3d986e4439f2c7c9eaf3f748e7f2872bc56343fb..738e494931123ee723188131510edceaf5eecc71 100644 (file)
@@ -1,5 +1,4 @@
-USING: tools.test ;
-IN: cuesheet
+USING: cuesheet tools.test ;
 
 {
     T{ cuesheet
index 58a1a957feabb2c58ef5a66d133cd8e3eca65266..8dee11393488ba6bce6521cdf15b5b81aa365cc0 100644 (file)
@@ -1,5 +1,4 @@
-USING: kernel math tools.test ;
-IN: dice
+USING: dice kernel math tools.test ;
 
 { [ 1 4 random-roll ] } [ "1d4" roll-quot ] unit-test
 { [ 1 4 random-roll 3 + ] } [ "1d4+3" roll-quot ] unit-test
index 4d1bb5be061e3eb8bf4215048c13685224a50acc..b66afd8916c973f47aec2542ed9046688adb7ae2 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2010 Erik Charlebois.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors byte-arrays elf kernel sequences system tools.test ;
-IN: elf.tests
 
 cpu ppc? [
 {
index 93a10305327ee2811aa20746d962690cbda3b714..e07c2bb9618b0bd79bfdda8589e2443bddd9a7c6 100644 (file)
@@ -1,8 +1,6 @@
 
 USING: enigma kernel math sequences sorting tools.test ;
 
-IN: enigma.tests
-
 { t } [ <reflector> natural-sort 26 <iota> sequence= ] unit-test
 
 { "" } [ "" 4 <enigma> encode ] unit-test
index a519400870bf2db443539a36b4395fbcf85c44e4..9161ce33cc000030bc46591acf33eaedc83d0f75 100644 (file)
@@ -1,5 +1,4 @@
 USING: fftw tools.test ;
-IN: fftw.tests
 
 {
     { C{ 1.5 0.0 } C{ -0.5 0.0 } }
index 2e385ca5660f5d8016b851687e009597683ebfb5..226fa338a9b9bc85a1ee01863b2c81295c926a61 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2006 Chris Double. All Rights Reserved.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: kernel tools.test peg fjsc ;
-IN: fjsc.tests
 
 { T{ ast-expression f V{ T{ ast-number f 55 } T{ ast-identifier f "2abc1" } T{ ast-number f 100 } } } } [
   "55 2abc1 100" expression-parser parse
index 772e53cba9bf84eac7ed989d6c7768599b98a67e..a278dfbf31b4334f45448f5b5754d1f4208a3187 100644 (file)
@@ -3,8 +3,6 @@
 
 USING: flip-text tools.test ;
 
-IN: flip-text.tests
-
 {
     "068Ɫ95ᔭƐᄅ⇂zʎxʍʌnʇsɹbdouɯʃʞɾᴉɥᵷɟǝpɔqɐZ⅄XMΛՈ⊥SᴚΌԀONW⅂KᒋIH⅁ℲƎᗡϽ𐐒∀"
 } [
index 5e3f61ad82b0d05dd9b9356adbf0637ee97a8c2d..346280f4f722f57422c1df87dd36a2841d5db606 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: continuations fuel fuel.eval io.streams.string kernel math
 namespaces random.data sequences tools.test vocabs.parser ;
-IN: fuel.eval.tests
 
 ! pop-restarts
 { V{ "um" } } [
index d8a75e21a4fd19aab74ab4a7f4ee8834578263de..f2c7dc56e26b3171a69c38366b93021280c7b1a4 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: fuel.help fuel.help.private help help.topics sequences
 tools.test ;
-IN: fuel.help.tests
 
 {
     {
index 3ac268ac2290fa6abcfc396b45ab5b81360d7aa7..adc75730b528785948a9969e089bcf1ba5032449 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Jose Antonio Ortega Ruiz.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: compiler.errors fuel.pprint io.streams.string tools.test ;
-IN: fuel.pprint.tests
 
 { "(source-file-error nil \"hi\")" } [
     [ "hi" "there" <compiler-error> fuel-pprint ] with-string-writer
index 99c099abacb1846322f5b9041af1bcc9352394e0..2b0203b79df4c5316ada035208bc2c9aeee84d24 100644 (file)
@@ -1,5 +1,5 @@
-IN: gml.tests
-USING: accessors combinators gml tools.test kernel sequences euler.b-rep ;
+USING: accessors combinators gml tools.test kernel sequences
+euler.b-rep ;
 
 { } [ [ "vocab:gml/test-core.gml" run-gml-file ] make-gml 2drop ] unit-test
 
index de7c3761d073e2b40c8f454d3460c13ae049b951..1ec2ab7c0f65cfe940e89e520dda68a5a25b6086 100644 (file)
@@ -1,5 +1,4 @@
 USING: gml.viewer math.vectors.simd.cords tools.test ;
-IN: gml.viewer.tests
 
 { {
     double-4{ 0 0 0 0 }
index efa9694bca723c1d28a9980905384be638542f1b..a62e681c1709d3c4f49aa8c94dbfdc46f89ce63a 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors colors.constants google.charts
 google.charts.private kernel math present sequences tools.test ;
-IN: google.charts.tests
 
 ! The order of the constructors below is important, because we
 ! are testing side-effects. If you remove the clone word from
index 71743af3fd917ef2839bde4e445a855512d67a83..111f887787189af8e1f0c2f0c43172dc3f3d3e22 100644 (file)
@@ -1,4 +1,3 @@
-IN: grid-meshes.tests
 USING: alien.c-types alien.data grid-meshes grid-meshes.private
 specialized-arrays tools.test ;
 SPECIALIZED-ARRAY: float
index 3b8f802514591415580133d89f18646b8ad1154d..24a1a7ec8b41369231b0bf2a02844d57c84f93c9 100644 (file)
@@ -1,5 +1,4 @@
 USING: arrays kernel math math.functions sequences tools.test ;
-IN: grouping.extras
 
 { { } } [ { 1 } [ 2array ] 2clump-map ] unit-test
 { { { 1 2 } } } [ { 1 2 } [ 2array ] 2clump-map ] unit-test
index 2f51ed7b623f97774966931d08e1e4ce58b26df9..4440e5675eb33ae4e284f65d6a6afbffd328cd20 100644 (file)
@@ -3,8 +3,6 @@
 
 USING: hash-sets.numbers kernel sets tools.test ;
 
-IN: hash-sets.numbers.tests
-
 { t } [ 1.5 NHS{ 3/2 } in? ] unit-test
 
 { NHS{ 3/2 } } [
index a8f1d5a3edbfa501ea61c5bceac358f53569f560..ee3eab478c4b86b85b1bb811dbae715fe3b8c70f 100644 (file)
@@ -4,8 +4,6 @@
 USING: assocs hashtables.numbers kernel literals sequences
 tools.test ;
 
-IN: hashtables.numbers.tests
-
 { 1000 } [ 3/2 NH{ { 1.5 1000 } } at ] unit-test
 
 { 1001 } [
diff --git a/extra/hello-unicode/hello-unicode-tests.factor b/extra/hello-unicode/hello-unicode-tests.factor
deleted file mode 100644 (file)
index bf9d572..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2009 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test hello-unicode ;
-IN: hello-unicode.tests
index c216961af7cf0cda3d3405f9d58a86222c00c2b7..1fc4dcd071744afa616808da1d02421ebb16613b 100644 (file)
@@ -1,4 +1,3 @@
-IN: html.elements.tests
 USING: tools.test html.elements io.streams.string ;
 
 { "<a href='h&amp;o'>" }
index 0c640354fd657db1af4b9c538fc6e52350c8a4aa..d4098092c275819c3a166e6b843021529cff9a94 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2010 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: html.parser html.parser.analyzer kernel math sequences tools.test ;
-IN: html.parser.analyzer.tests
 
 { 0 3 }
 [ 1 { 3 5 7 9 11 } [ odd? ] find-nth ] unit-test
index b235448c70eacbb8205742c21bab351ecc581b9f..45cad8841d80161440af4bf15b4ef419a7fa2f03 100644 (file)
@@ -1,5 +1,4 @@
 USING: html.parser kernel tools.test ;
-IN: html.parser.tests
 
 {
     V{ T{ tag f "html" H{ } f f } }
index a2a049f277cf63a9dbd2add36cd4c927ce0a53c2..dd073639555dadaceaba402f844cb4efdcdd8560 100644 (file)
@@ -1,10 +1,5 @@
-USING:
-    html.parser html.parser.printer
-    io.streams.string
-    namespaces
-    strings
-    tools.test ;
-IN: html.parser.printer.tests
+USING: html.parser html.parser.printer io.streams.string
+namespaces strings tools.test ;
 
 {
     "          "
index 3acaa63edfc73efc05034d6501192f1b4213ece2..e5195a4d318110572eea2b00392aae871cfb5bef 100644 (file)
@@ -1,8 +1,4 @@
-USING: assocs combinators continuations hashtables
-hashtables.private io kernel math
-namespaces prettyprint quotations sequences splitting
-strings tools.test html.parser.utils quoting ;
-IN: html.parser.utils.tests
+USING: html.parser.utils quoting tools.test ;
 
 { "'Rome'" } [ "Rome" single-quote ] unit-test
 { "\"Roma\"" } [ "Roma" double-quote ] unit-test
index 5a97911bc4b0a8a80772e17011123315fe95beca..3fc1f451a136cfc6490a71418ee23767a48623bb 100644 (file)
@@ -1,5 +1,4 @@
 USING: images.bitmap images.testing kernel sequences ;
-IN: images.bitmap.tests
 
 ! "vocab:images/testing/bmp/1bit.bmp" bmp-image decode-test
 ! "vocab:images/testing/bmp/rgb_4bit.bmp" bmp-image decode-test
index 4568fbdf1852c39c1b30c13c11c66835602678c7..da9c63766f88255da4113a2f0715985612729a6f 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2010 Erik Charlebois.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: images.pbm images.testing sequences ;
-IN: images.pbm.tests
 
 {
     "vocab:images/testing/pbm/test.binary.pbm"
index 83eb244d8a680fe64d5fe21dc15cc4d68419ca0e..ecf2dc27213173658e349207db9cf5ba83448384 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2010 Erik Charlebois.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: images.testing images.pgm sequences ;
-IN: images.pgm.tests
 
 {
     "vocab:images/testing/pgm/radial.binary.pgm"
index df156c8f787405ce1710018686cf56b8828079b2..b2dc45b737ebfdc3a35c6fd2b0480976d24a96fb 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors images.png images.testing io.directories
 io.encodings.binary io.files kernel sequences tools.test ;
-IN: images.png.tests
 
 ! Test files from PngSuite (http://www.libpng.org/pub/png/pngsuite.html)
 
index c8757dc286c79da486e4d02723e91529bff06832..d998fcd8fe6c5539517227d73476b1d0b7baa0e6 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2010 Erik Charlebois.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: images.testing images.ppm sequences ;
-IN: images.ppm.tests
 
 {
     "vocab:images/testing/ppm/binary.ppm"
index 7c9193df9a246b2b4ba3ba6ed098325ee34477e3..7181e099a35b0910756009e3779e3501dbc8e610 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: images.testing images.tiff sequences ;
-IN: images.tiff.tests
 
 {
     "vocab:images/testing/tiff/octagon.tiff"
index 2878bf6fa629e144a11adfeee0ef9750137150e7..7f9108e77501271f64faa7b3fa9784354bde5638 100644 (file)
@@ -3,8 +3,6 @@
 
 USING: ini-file tools.test ;
 
-IN: ini-file.tests
-
 { H{ } } [ "" string>ini ] unit-test
 
 { H{ { "section" H{ } } } } [ "[section]" string>ini ] unit-test
index 88386bb61aa8b8d39c5694d23b29259f834f9e36..66c98b0876f2a9ab646f6f2e8f565e66aaea8522 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2011 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test io.binary.fast ;
-IN: io.binary.fast.tests
 
 { 0x0102 } [ B{ 01 02 } 2be> ] unit-test
 { 0x01020304 } [ B{ 01 02 03 04 } 4be> ] unit-test
index c622c587c84b2b276e86daa14b0b8256e46294a8..6a5e02abf620406a1c8c8ef06fe08aa32fd0abc5 100644 (file)
@@ -4,7 +4,6 @@ USING: byte-arrays io.encodings.8-bit.koi8-r
 io.encodings.8-bit.latin1 io.encodings.binary
 io.encodings.detect io.encodings.utf16 io.encodings.utf32
 io.encodings.utf8 namespaces tools.test ;
-IN: io.encodings.detect.tests
 
 ! UTF encodings with BOMs
 { utf16be } [ B{ 0xFE 0xFF 0x00 0x31 0x00 0x32 0x00 0x33 } detect-byte-array ] unit-test
index 05376137ff4c585c5255f01ca9ac2cee4bd7ef36..7e6dcf0f7f6bc322f31016bf1f129f0a471f368f 100644 (file)
@@ -4,7 +4,6 @@ USING: byte-arrays destructors io io.encodings.ascii
 io.encodings.binary io.files io.streams.byte-array
 io.streams.memory io.streams.peek io.streams.string kernel make
 namespaces sequences strings tools.test ;
-IN: io.streams.peek.tests
 
 { CHAR: a }
 [ "abc" <string-reader> <peek-stream> stream-read1 ] unit-test
index 14e53b281e729fcba1a56f03e7381b76d7298b2b..2fbc3c59db91bd88de2890c07a3321c86d9c41a0 100644 (file)
@@ -1,8 +1,6 @@
 ! Copyright (C) 2009 Bruno Deferrari
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors irc.messages irc.messages.parser tools.test ;
-IN: irc.messages.tests
-
 
 ! { "someuser" } [ "someuser!n=user@some.where" parse-name ] unit-test
 
index 3b52e4b1b69ecb2ff9eb1dd8c43d5287f459eaee..7abddcc71ad80f41dfd4c91e64bf99a608b2e8cb 100644 (file)
@@ -1,5 +1,4 @@
 USING: jamshred.oint tools.test ;
-IN: jamshred.oint.tests
 
 { { 0 -1 -1 } } [ { 0 1 -1 } { 0 -1 0 } reflect ] unit-test
 { { 0 1 0 } } [ { 1 1 0 } { 1 0 0 } proj-perp ] unit-test
index 448e68c2dddd72a2f284b56ac9f2d56cf310c391..f08e170ed624afc1382344ed54f24ff7f80c6e27 100644 (file)
@@ -1,5 +1,4 @@
-USING: eval kernel math tools.test ;
-IN: literate
+USING: eval kernel literate math tools.test ;
 
 { 2 3 t } [
 <LITERATE
index 51865760d9a5eb292d47fa1682c88cd62251573b..1426ef3c0c2a9bf3b2e09f50d14e24ff3550754f 100644 (file)
@@ -1,6 +1,5 @@
 ! Copyright (C) 2017 Björn Lindqvist
 USING: kernel llvm.ffi tools.test ;
-IN: llvm.ffi.tests
 
 { } [
     "my_module" LLVMModuleCreateWithName
index 81ed23ed8931753d7d7817adcf27a8b756217936..d1749417c7a17a6100cb2df38c354ca3c5c47aa4 100644 (file)
@@ -1,5 +1,4 @@
 USING: kernel literals llvm llvm.ffi system tools.test ;
-IN: llvm.tests
 
 ${ cpu x86.64? "x86-64" "x86-32" ? } [
     initialize-native-target
index c380254953d85d8dce886aa5435d808f7bc936f1..f68272518eb74d84205e6cd26fcc5a23be55ea9d 100644 (file)
@@ -1,5 +1,4 @@
 USING: io.pathnames llvm.reader llvm.wrappers tools.test ;
-IN: llvm.reader.tests
 
 { t } [
     "resource:extra/llvm/wrappers/add.bc" absolute-path load-module
index 31d2d249705c40640d3ea047545543d4c4430089..d630da055e674608b6e0025be5e4638c505972c1 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license
 USING: kernel machine-learning.data-sets
 machine-learning.decision-trees math.extras sequences tools.test ;
-IN: machine-learning.decision-trees.tests
 
 { { 0.08 0.01 0.0 0.03 0.29 0.0 } } [
     "monks-1.train" load-monks
index 714f82e992eb4fd43a3fa8d124e5dc04a7a29fde..1dc01724a834cd6baf9bcac68b8668a16e1bda7d 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2017 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test machine-learning.functions ;
-IN: machine-learning.functions.tests
 
 { 0 } [ 0 relu ] unit-test
 { .5 .000001 } [ .5 relu ] unit-test~
index a8c5e1d0f2b457f73205a1573c238bdcc59731b2..58a546720261c7527ffa506b237f5c08c0908687 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: kernel machine-learning.label-binarizer
 machine-learning.transformer tools.test ;
-IN: machine-learning.label-binarizer.tests
 
 { { { 1 0 0 0 } { 0 0 0 1 } } } [
     <label-binarizer> { 1 2 6 4 2 } over fit-y
index 235bb48af5749e4a9620b80869b8afd50de667a3..b7994e78c8f87dd34fca3899e5d0c3d6484d4d39 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: kernel machine-learning.label-encoder
 machine-learning.transformer tools.test ;
-IN: machine-learning.label-encoder.tests
 
 { { 1 3 2 4 } } [
     <label-encoder> { 1 2 3 4 3 2 3 2 2 3 2 } over fit-y
index 89a796c5835e516f3ad99ee2026da6c6b32e5a93..86f350a9127a9334122a2fa8ac8e16d0d548e932 100644 (file)
@@ -3,7 +3,6 @@
 USING: assocs kernel machine-learning.rebalancing math
 math.statistics math.text.english sequences tools.test
 math.vectors ;
-IN: machine-learning.rebalancing.tests
 
 { t } [
     { 1 1 1 2 } [ [ number>text ] map ] [ ] bi
index 78d01cb072d084f6ea6d4420b65875598f0d05cf..e9d514d91c701f9c5806eeeb28136b7c9323fc7f 100644 (file)
@@ -1,5 +1,4 @@
 USING: magic system tools.test ;
-IN: magic.tests
 
 { "data" } [ image-path guess-file ] unit-test
 { "application/octet-stream" } [ image-path guess-mime-type ] unit-test
index f2e99714ab6e2caebcdea226970d148899d49a59..67b0d21a75389487ffc3d7144fe54d2befd5e6ef 100644 (file)
@@ -1,6 +1,5 @@
 USING: io io.pathnames kernel mason.child mason.config
 namespaces sequences system tools.test ;
-IN: mason.child.tests
 
 { t } [
     H{
index e1b1aee1c4505931332d32069f01cdbcbca24099..e51c6e59a3fbe12fa4c6f8a5c00d7b8bfa2905fa 100644 (file)
@@ -1,7 +1,5 @@
-IN: mason.common.tests
-USING: prettyprint mason.common mason.config
-namespaces calendar tools.test io.files
-io.files.temp io.encodings.utf8 sequences ;
+USING: prettyprint mason.common mason.config namespaces calendar
+tools.test io.files io.files.temp io.encodings.utf8 sequences ;
 
 { "00:01:02" } [ 62,000,000,000 nanos>time ] unit-test
 
index 6ebed55fad5024607ea054b332b0945800a05ac1..256f9272fd6473e5c532ade564213368577aeada 100644 (file)
@@ -1,6 +1,5 @@
 USING: mason.config mason.disk namespaces io.directories
 io.files.temp tools.test strings sequences ;
-IN: mason.disk.tests
 
 "builds" temp-file builds-dir [
     builds-dir get make-directories
index 26e5afd511f7feeafc28e6104abab71c261f9516..60b26420f7af0d392d69ad910367d1f259a8f9a6 100644 (file)
@@ -1,4 +1,3 @@
-IN: mason.email.tests
 USING: mason.email mason.common mason.config namespaces
 tools.test system ;
 
index dc76bdad4e6644900a996fc2b87308773fbfbee9..32a18025ba1922f00d3f65f0a68b69ab6e9650a7 100644 (file)
@@ -1,21 +1,20 @@
 USING: mason.config mason.platform namespaces tools.test
 strings system ;
-IN: mason.platform.tests
 
 { t } [ platform string? ] unit-test
 
-[
-    linux target-os set
-    x86.32 target-cpu set
-    f target-variant set
+{ "linux-x86-32" } [
+    H{
+        { target-os linux }
+        { target-cpu x86.32 }
+        { target-variant f }
+    } [ platform ] with-variables
+] unit-test
 
-    [ "linux-x86-32" ] [ platform ] unit-test
-] with-scope
-
-[
-    windows target-os set
-    x86.32 target-cpu set
-    "xp" target-variant set
-
-    [ "windows-x86-32-xp" ] [ platform ] unit-test
-] with-scope
+{ "windows-x86-32-xp" } [
+    H{
+        { target-os windows }
+        { target-cpu x86.32 }
+        { target-variant "xp" }
+    } [ platform ] with-variables
+] unit-test
index 16be1522cf07e1627c3f537f1a6b1b8ae8bb1ef8..4ee1b595f264c4288164467ff754b4f3d118301d 100644 (file)
@@ -1,6 +1,4 @@
-USING: system tools.test ;
-
-IN: mason.release.archive
+USING: mason.release.archive system tools.test ;
 
 { ".dmg" } [ macosx extension ] unit-test
 { ".dmg" } [ "macosx" extension ] unit-test
index fb3df6c50d7676cbc4acaccba1bfb6e9b4e9bfb5..39827c20d97bfdef591f82e0fe04f66fd435d8f4 100644 (file)
@@ -1,4 +1,3 @@
-IN: mason.release.branch.tests
 USING: mason.release.branch mason.config tools.test namespaces
 system ;
 
diff --git a/extra/mason/release/upload/upload-tests.factor b/extra/mason/release/upload/upload-tests.factor
deleted file mode 100644 (file)
index 9a0185e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-IN: mason.release.upload.tests
-USING: mason.release.upload tools.test ;
index ae36ad7f2c99d6a5e1c522393f99c6615b3842b8..e1b7deecc707bc0263468f713e17761e9517846d 100644 (file)
@@ -1,7 +1,6 @@
 ! (c)2009 Joe Groff, see BSD license
 USING: arrays kernel literals tools.test math math.affine-transforms
 math.constants math.functions ;
-IN: math.affine-transforms.tests
 
 { { 7.25 4.25 } } [
     { 0.75 0.75 } { 0.75 -0.75 } { 5.0 5.0 } <affine-transform>
index 23ad5b73b3cb19395402e832f3f964c46b5ec8a9..9cd3f79f49f8beaa302f807e31a87a8a1774b578 100644 (file)
@@ -4,8 +4,6 @@
 USING: kernel math math.approx math.constants
 math.floating-point sequences tools.test ;
 
-IN: math.approx.tests
-
 { { 3 3 13/4 16/5 19/6 22/7 } }
 [
     pi double>ratio
index d28eff031fc53e2bf8aca6d06b520c03b7e213a9..032ca8d86d6e43a8d2f3e4c1e1e2afec0c617e0d 100644 (file)
@@ -3,8 +3,6 @@
 
 USING: kernel tools.test sequences ;
 
-IN: math.binpack
-
 { { V{ } } } [ { } 1 binpack ] unit-test
 
 { { V{ 3 } V{ 2 1 } } } [ { 1 2 3 } 2 binpack ] unit-test
index 5a7345d68237b246e5ee67da688ac37818ad1380..edb331d64124642a8b6b6137de311763b8468b73 100644 (file)
@@ -1,6 +1,5 @@
 USING: kernel math.blas.matrices math.blas.vectors
 sequences tools.test ;
-IN: math.blas.matrices.tests
 
 ! clone
 
index e566a46f5d5ab4848cb6e2316b57c9e954ee62b9..a4e1d19613149350985033a69788661e0a85937f 100644 (file)
@@ -1,5 +1,4 @@
 USING: kernel math.blas.vectors math.functions sequences tools.test ;
-IN: math.blas.vectors.tests
 
 ! clone
 
index 19afbaedfd37152ba0047a779fd7c367751813e9..f213d29a759f1e28987ec316ea2fc83d7c1abb8f 100644 (file)
@@ -1,5 +1,4 @@
-USING: math tools.test ;
-IN: math.combinatorics.bits
+USING: math math.combinatorics.bits tools.test ;
 
 { 0b101 } [ 0b011 next-permutation-bits ] unit-test
 { 0b110 } [ 0b101 next-permutation-bits ] unit-test
index eb6ad7f21f1fab64014816b49c08c71066cb72d5..288e1b72099606a7522308821d2de4b8ec6f21d1 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2013 Loryn Jenkins.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: kernel math math.combinators tools.test ;
-IN: math.combinators.tests
 
 { 0 } [ -3 [ drop 0 ] when-negative ] unit-test
 { -2 } [ -3 [ 1 + ] when-negative ] unit-test
index 20b98a7f342525be2c4c06f714663a57cde07b89..9ddd4aad89031e04dc2ef2d944525bf39fc43aa0 100644 (file)
@@ -1,8 +1,6 @@
 USING: kernel math math.compare math.functions sequences
 tools.test ;
 
-IN: math.compare.tests
-
 { -1 } [ -1 5 absmin ] unit-test
 { -1 } [ -1 -5 absmin ] unit-test
 
index 5e1f0015c02251c44ce9cabd50a88c573472af38..f9ea5966bb5766bf636842222d45376b521764c3 100644 (file)
@@ -3,8 +3,6 @@
 
 USING: kernel math.distances math.functions tools.test ;
 
-IN: math.distances.tests
-
 { 1 } [ "hello" "jello" hamming-distance ] unit-test
 
 { 0.0 } [ { 1 2 3 } dup cosine-distance ] unit-test
index 055c44cd098a99472d4b19e7426c3e8510aea209..3451dcd50d182a8295dceadf97e17164f6511874 100644 (file)
@@ -1,8 +1,7 @@
 ! Copyright (C) 2009 Jason W. Merrill.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: tools.test math.dual kernel accessors math math.functions
-    math.constants ;
-IN: math.dual.tests
+math.constants ;
 
 { 0.0 1.0 } [ 0 1 <dual> dsin unpack-dual ] unit-test
 { 1.0 0.0 } [ 0 1 <dual> dcos unpack-dual ] unit-test
index 4b4fb91e3e8873da72196dbd2284110cfd87d69e..b87e95c01a7812fb7a5cc3b47ec0615a53da9a6a 100644 (file)
@@ -4,8 +4,6 @@
 USING: arrays kernel math math.extras math.ranges sequences
 tools.test ;
 
-IN: math.extras.tests
-
 { { 1 -1/2 1/6 0 -1/30 0 1/42 0 -1/30 0 } }
 [ 10 <iota> [ bernoulli ] map ] unit-test
 
index 039a42c25d3d3589950f2ab12284600f36466b11..dcfea2f5d18a0445b4e0e9f1dfd1225a652413e4 100644 (file)
@@ -1,5 +1,4 @@
-USING: kernel math.functions math.ranges sequences tools.test ;
-IN: math.factorials
+USING: kernel math.factorials math.functions math.ranges sequences tools.test ;
 
 { 1 } [ -1 factorial ] unit-test ! not necessarily correct
 { 1 } [ 0 factorial ] unit-test
index ed2d4cae34dad1fd87ed0ec419ec1982decbb59a..0a28581399e64b64d2424e5ac35aee5047a5455b 100644 (file)
@@ -1,8 +1,6 @@
 USING: kernel math math.functions math.finance sequences
 tools.test ;
 
-IN: math.finance.tests
-
 { { 1 2 3 4 5 } } [ { 1 2 3 4 5 } 1 ema ] unit-test
 { { 1+1/2 2+1/2 3+1/2 4+1/2 } } [ { 1 2 3 4 5 } 2 ema ] unit-test
 { { 2 3 4 } } [ { 1 2 3 4 5 } 3 ema ] unit-test
index 5d3573c44528fefbacc8e4621ea88f171be19e6b..e1a55e35518a4ebbd241279f0f46b2182248cbb9 100644 (file)
@@ -1,9 +1,8 @@
 ! Copyright (C) 2013 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 
-USING: arrays kernel grouping math sequences tools.test ;
-
-IN: math.hashcodes
+USING: arrays kernel grouping math math.hashcodes sequences
+tools.test ;
 
 { t } [
     12 dup >bignum 12.0 12 0 complex boa 4array
index e1c3a7f70a4f071713d2d5221f8515f0d473b4bb..eab1e6f9be9a2b134df1d632069d15eca75d9cff 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2013 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test kernel ;
-IN: math.matrices.laplace
+USING: math.matrices.laplace tools.test kernel ;
 
 { -2 } [ { { 1 2 } { 3 4 } } determinant ] unit-test
 
index f9370941ac73b4e6328aa350848dd857fda44d37..8b4c948e4d9e3057dd5f695f996684c27878f512 100644 (file)
@@ -5,7 +5,6 @@ literals math.constants math.functions specialized-arrays tools.test ;
 QUALIFIED-WITH: alien.c-types c
 FROM: math.matrices => m~ ;
 SPECIALIZED-ARRAY: float-4
-IN: math.matrices.simd.tests
 
 {
     S{ matrix4 f
index 7b803f7d4b0eed38c232921a58e40e4e9474c85d..bd4d36b59da12f5d8284f4a245de67bf74c9a2b4 100644 (file)
@@ -1,6 +1,5 @@
 USING: kernel math.numerical-integration tools.test math
 math.constants math.functions ;
-IN: math.numerical-integration.tests
 
 { 50 } [ 0 10 [ ] integrate-simpson ] unit-test
 { 1000/3 } [ 0 10 [ sq ] integrate-simpson ] unit-test
index 9801fc80f3570dc027b1ca15dd7a6de7fcb13abc..695df447d6e27afc15b5d4549452cd15a268a094 100644 (file)
@@ -1,5 +1,5 @@
-USING: kernel math.primes sequences tools.test ;
-IN: math.primes.solovay-strassen
+USING: kernel math.primes math.primes.solovay-strassen sequences
+tools.test ;
 
 { t } [
     100,000 <iota> [ solovay-strassen ] filter
index 2ecfdb203b0280530dc7413658e3e8e41feda63d..a217cfae6d32c9be64b0d00eb170cd2efc135fbc 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2012 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 USING: math.primes.twins tools.test ;
-IN: math.primes.twins.tests
 
 { { } } [ 3 twin-primes-upto ] unit-test
 { { V{ 3 5 } V{ 5 7 } V{ 11 13 } } } [ 13 twin-primes-upto ] unit-test
index 2829b37a56acd2f5438a0ff5351faa996a64bbe0..53e33cdc7975bc993c469fa185d29b6c649dfc66 100644 (file)
@@ -1,5 +1,4 @@
 USING: math.functions math.text.english tools.test ;
-IN: math.text.english.tests
 
 { "zero" } [ 0 number>text ] unit-test
 { "twenty-one" } [ 21 number>text ] unit-test
index e05e4e5499e99f1e4c37e13f97b6a1fcbe7c7cd5..78500ef764783fe51ce44b79564ec83ff62122a4 100644 (file)
@@ -1,4 +1,3 @@
 USING: math.text.utils tools.test ;
-IN: math.text.utils.tests
 
 { { 1 999 2 } } [ 2999001 3 digit-groups ] unit-test
index 6c58161ef44b430ee50ef4a5fa2196295ab82805..d851d1a50e9bb814c516a1b53a75b0f222242dc4 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2012 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license
 USING: math.transforms.bwt tools.test ;
-IN: math.transforms.bwt.tests
 
 { "asdf" } [ "asdf" bwt ibwt ] unit-test
 
index 8435adc3e3cd43551be774aa0d9abebf95b73e25..c09a87040af5229a3fa651c116e8b84da378f267 100644 (file)
@@ -1,5 +1,4 @@
-USING: math.vectors tools.test ;
-IN: math.transforms.fft
+USING: math.transforms.fft math.vectors tools.test ;
 
 ! even lengths
 
index 1b38472a64a9459323552ed2cabcac7b5d0bafbe..6cb8b398fba6c3d59fc21484975719b1205e6068 100644 (file)
@@ -1,5 +1,4 @@
 USING: math.transforms.haar tools.test ;
-IN: math.transforms.haar.tests
 
 { { 3 2 -1 -2 3 0 4 1 } } [ { 7 1 6 6 3 -5 4 2 } haar ] unit-test
 { { 7 1 6 6 3 -5 4 2 } } [ { 3 2 -1 -2 3 0 4 1 } rev-haar ] unit-test
index 62236b295957e3c549ff544c374e761f9130ca2e..087d12adb8abf92aa856b44a6b9d34fdfb082757 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Joe Groff.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: math.vectors.homogeneous tools.test ;
-IN: math.vectors.homogeneous.tests
 
 { { 1.0 2.0 1.0 } } [ { 1.0 0.0 1.0 } { 0.0 2.0 1.0 } h+ ] unit-test
 { { 1.0 -2.0 1.0 } } [ { 1.0 0.0 1.0 } { 0.0 2.0 1.0 } h- ] unit-test
index 9f979b631a93e44a6083f6fecfd1b8c92609f959..3caa9e54244fbabade9614f09e94dcb5a6384d4b 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors alien destructors kernel math
 memory.piles tools.test ;
-IN: memory.piles.tests
 
 { 25 } [
     [
index 35f7bbe776f9766fa53878a3aaea4f4ed25e9eb5..c32435dbc3796bd7591241be4db6a566bdeee080 100644 (file)
@@ -1,5 +1,4 @@
 USING: metar.private tools.test ;
-IN: metar.tests
 
 { { "RAB05" "E30" "SNB20" "E55" } }
 [ "RAB05E30SNB20E55" split-recent-weather ] unit-test
index 3e19cf0da4fa890db783a745ea9153cb87a8a853..bd290cbb4c2275cbdf5a330f5591b96438d1597e 100644 (file)
@@ -1,6 +1,5 @@
 USING: io.encodings.binary io.streams.byte-array midi
 midi.private sequences tools.test ;
-IN: midi.tests
 
 ! variable-width numbers
 {
index 16efac9d8c1fea90229edff7bbbf1fd31098cafb..a5c3089a6d834966d1d0a391b25b2a8f1d8a5a1e 100644 (file)
@@ -1,6 +1,5 @@
 USING: arrays generic kernel math models namespaces sequences assocs
 tools.test models.history accessors ;
-IN: models.history.tests
 
 f <history> "history" set
 
index 786b4828a9ea9edf8cbd44f03f70304d93db1fad..972ff5e65cffc65d2b58b512e1b004dfdf0e4798 100644 (file)
@@ -1,5 +1,4 @@
 USING: money parser tools.test eval ;
-IN: money.tests
 
 { -1/10 } [ DECIMAL: -.1 ] unit-test
 { -1/10 } [ DECIMAL: -0.1 ] unit-test
index 95b837a9eb168af98d668d17caac8c71e932f0eb..da853845b0f3992ebf7c4bc09248f23ed63dd076 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2007 Alex Chapman
 ! See http://factorcode.org/license.txt for BSD license.
 USING: arrays morse strings tools.test ;
-IN: morse.tests
 
 { "?" } [ CHAR: \\ ch>morse ] unit-test
 { "..." } [ CHAR: s ch>morse ] unit-test
index 9fe57b32d906b31ca025bff222dbe50359e66588..1efd0b30ca75065538fde4e23f0564b2e72045b2 100644 (file)
@@ -1,6 +1,5 @@
-USING: io.streams.string kernel math sequences tools.test ;
-
-IN: msgpack
+USING: io.streams.string kernel math msgpack sequences
+tools.test ;
 
 {
     {
index 1f3b35ade109d03bf4daaf0948b5f7f37f8137b8..8f0593c55567caee8a3dac1efb65d43ff108916f 100644 (file)
@@ -1,4 +1,3 @@
-IN: msxml-to-csv.tests
 USING: msxml-to-csv tools.test csv io.encodings.utf8
 io.files.temp kernel ;
 
index a9438f3cbc0b1a9b4e15f9596e16be51bc6de8d4..536d8f4593656001f45a678ac88d62e8a6434062 100644 (file)
@@ -1,4 +1,3 @@
-IN: noise.tests
 USING: noise tools.test sequences math ;
 
 { t } [ { 100 100 } perlin-noise-map-coords [ [ 100 <= ] all? ] all? ] unit-test
index 49a0c17e36b8580cce46bbab7b6625b543c7d20a..4088cb08bf09a4ea066e1c261f671304bcf091dd 100644 (file)
@@ -1,6 +1,5 @@
 USING: oauth1 oauth1.private tools.test accessors kernel assocs
 strings namespaces urls ;
-IN: oauth1.tests
 
 { "%26&b" } [ "&" "b" hmac-key ] unit-test
 { "%26&" } [ "&" f hmac-key ] unit-test
index ff0c5d59755d9184c1ebeafb0c8d316dbbad6ce1..5d15e5b4e5ca921b0e4efaaa4c69bab2c28487c8 100644 (file)
@@ -1,5 +1,4 @@
 USING: accessors calendar kernel oauth2 tools.test urls ;
-IN: oauth2.tests
 
 ! assoc>tokens
 {
index a5a25f598e1fb30c23e1e61015d4b1527ed7d73d..9ca2c3bae88ea6036fa3ac294c6450a7fac04b6a 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2009 Joe Groff.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: kernel pair-rocket tools.test ;
-IN: pair-rocket.tests
 
 { { "a" 1 } } [ "a" => 1 ] unit-test
 { { { "a" } { 1 } } } [ { "a" } => { 1 } ] unit-test
index fac52bab7116da01bdeded384007cf90ade5dc11..a8a878c18ba7a793c1f4efb2feab5959da33691f 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: kernel lists lists.lazy tools.test strings math
 sequences parser-combinators arrays math.parser unicode ;
-IN: parser-combinators.tests
 
 ! Testing <&>
 { { T{ parse-result f { "a" "b" } T{ slice f 2 4 "abcd" } } }  } [
diff --git a/extra/pdf/pdf-tests.factor b/extra/pdf/pdf-tests.factor
deleted file mode 100644 (file)
index 3d4023e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-! Copyright (C) 2010 John Benediktsson
-! See http://factorcode.org/license.txt for BSD license
-
-USING: pdf tools.test ;
-
-IN: pdf.tests
index ca00082c427557b9cab560bf0dd66e6d790f6ed3..936e5b7c287ad23db23664223cc4848dd3a7a692 100644 (file)
@@ -3,8 +3,6 @@
 
 USING: pdf.units tools.test ;
 
-IN: pdf.units.tests
-
 { 0 } [ "0" string>points ] unit-test
 { 1 } [ "1" string>points ] unit-test
 { 1.5 } [ "1.5" string>points ] unit-test
index 3019105b5de4acbf855a06d115f69e3580d21713..981892d17ee1629a8b87f0cf75ce164310ad898e 100644 (file)
@@ -1,5 +1,4 @@
 USING: fonts pdf.wrap tools.test ;
-IN: pdf.wrap.tests
 
 { "hello,      " "extra spaces" } [
     "hello,      extra spaces" word-split1
index ce5827ab13ad3edfa02991e820f31322ae365de7..5fa2b91fc7454ab9a4a56a59824b841256828b2e 100644 (file)
@@ -1,8 +1,7 @@
 ! Copyright (C) 2008 Chris Double.
 ! See http://factorcode.org/license.txt for BSD license.
-!
-USING: kernel tools.test peg.javascript peg.javascript.ast accessors ;
-IN: peg.javascript.tests
+
+USING: kernel tools.test peg.javascript peg.javascript.ast ;
 
 { T{ ast-begin f V{ T{ ast-number f 123 } } } } [
   "123;" parse-javascript
index 317665910ba6fd0a49f5132ac85f764142e66914..7bde0292bec6abe3c0c54fcc447542c84c55bacc 100644 (file)
@@ -1,9 +1,9 @@
 ! Copyright (C) 2008 Chris Double.
 ! See http://factorcode.org/license.txt for BSD license.
-!
-USING: kernel tools.test peg peg.javascript.ast peg.javascript.parser
-       accessors sequences math peg.ebnf peg.ebnf.private ;
-IN: peg.javascript.parser.tests
+
+USING: kernel tools.test peg peg.javascript.ast
+peg.javascript.parser accessors sequences math peg.ebnf
+peg.ebnf.private ;
 
 {
   T{
index 5d01d2d15466c3e7b76ea1ee7e5bb3585a21b790..449070247421d7ed1953b82ad45244b3527ce493 100644 (file)
@@ -1,8 +1,8 @@
 ! Copyright (C) 2008 Chris Double.
 ! See http://factorcode.org/license.txt for BSD license.
-!
-USING: kernel tools.test peg peg.javascript.ast peg.javascript.tokenizer accessors ;
-IN: peg.javascript.tokenizer.tests
+
+USING: kernel tools.test peg peg.javascript.ast
+peg.javascript.tokenizer accessors ;
 
 {
   V{
index 63415a4b241477dd1a65d11d93c22a1e2dff80ec..8bbb62bf078396f793e32fc8474859c7c416d13b 100644 (file)
@@ -1,9 +1,8 @@
 ! Copyright (C) 2007 Chris Double.
 ! See http://factorcode.org/license.txt for BSD license.
-!
+
 USING: kernel tools.test peg peg.ebnf peg.ebnf.private peg.pl0
-       sequences accessors ;
-IN: peg.pl0.tests
+sequences accessors ;
 
 { t } [
   "CONST foo = 1;" "block" \ pl0 rule (parse) remaining>> empty?
index d3f8a6c4380786a16f2458a27e9a567549b3676c..30969e0f5836b1e0c953a737ec161c80f57cb151 100644 (file)
@@ -1,5 +1,5 @@
-USING: accessors kernel math math.order poker poker.private tools.test ;
-IN: poker.tests
+USING: accessors kernel math math.order poker poker.private
+tools.test ;
 
 { 134236965 } [ "KD" >ckf ] unit-test
 { 529159 } [ "5s" >ckf ] unit-test
index c2a1ed36b471547a896622e15331e80af02c79e6..cc4018e0b8f671d34614862ecb8f9774976aaf62 100644 (file)
@@ -2,7 +2,6 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: concurrency.promises namespaces kernel pop3 pop3.server
 sequences tools.test accessors calendar ;
-IN: pop3.tests
 
 FROM: pop3 => count delete ;
 
index 15bbf24303d35e6700d9c595c146f056ce65e9ee..1dd487bf6dcd03a9f4d1979e529ea708be44ffb5 100644 (file)
@@ -1,4 +1,3 @@
-IN: rpn.tests
 USING: rpn lists tools.test ;
 
 { { 2 } } [ "4 2 -" rpn-parse rpn-eval list>array ] unit-test
index a07a690916930db8772d4894b9f9284b97bc01ce..8d822171add7e95532d891667d3ccd3a31cfd013 100644 (file)
@@ -1,6 +1,5 @@
 USING: kernel math.order random semantic-versioning sequences
 sorting tools.test ;
-IN: semantic-versioning.tests
 
 {
     {
index 15455670138a94e23c49a603b2695a3060df802f..535e57a5f7be4d6b1588d1b15706028220ca9e8e 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2013 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: math sequences sets.extras tools.test ;
-IN: sets.extras.tests
 
 { { } } [ { } { } setwise-xor ] unit-test
 { { 1 } } [ { 1 } { } setwise-xor ] unit-test
index eaf4e546987f615ef5ffd95edb542ebc9da08e3d..0a5f821a758e58b944aa375f612363a2f5706400 100644 (file)
@@ -1,4 +1,3 @@
-IN: smalltalk.eval.tests
 USING: smalltalk.eval tools.test io.streams.string kernel ;
 
 { 3 } [ "1+2" eval-smalltalk ] unit-test
index ec3a9d016a4586e4b37752c41b7c0444dc867436..1998addedca1830f354db7ddffa73c75bcb42e14 100644 (file)
@@ -1,4 +1,3 @@
-IN: smalltalk.printer.tests
 USING: smalltalk.printer tools.test ;
 
 { "#((1 2) 'hi')" } [ { { 1 2 } "hi" } smalltalk>string ] unit-test
index 5a30f021d696f30a3562fe1f23d5c143a6938f22..d58706d349713257eb9e67907649a785ef2e3590 100644 (file)
@@ -1,7 +1,6 @@
 ! Copyright (C) 2014 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: calendar subrip-subtitles tools.test ;
-IN: subrip-subtitles.tests
 
 {
     {
index df2e0fe37535809b350e843db136f5bdf40c67af..3dca1be169dc161786b3c78a40c06610629aa04d 100644 (file)
@@ -1,7 +1,6 @@
 USING: kernel money tools.test
 taxes.usa taxes.usa.federal taxes.usa.mn
 calendar taxes.usa.w4 usa-cities math.finance ;
-IN: taxes.usa.tests
 
 {
     426 23
index c9cad51f1c5be994c041af7321641a271c6cc365..d3af00c2ff15c076643911b1e1be1b407f228b26 100644 (file)
@@ -1,5 +1,4 @@
 USING: sequences strings terminfo tools.test ;
-IN: terminfo.tests
 
 { t } [
     "vt102" terminfo-names member?
diff --git a/extra/time-server/time-server-tests.factor b/extra/time-server/time-server-tests.factor
deleted file mode 100644 (file)
index a9fac2d..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-! Copyright (C) 2008 Slava Pestov.
-! See http://factorcode.org/license.txt for BSD license.
-USING: tools.test time-server ;
-IN: time-server.tests
index 3cd51462b7e23001d24236cac136830d3ef6ac38..19c8f37b536c33d0b1d6459788c28b33ec8d97cb 100644 (file)
@@ -1,6 +1,4 @@
-USING: calendar formatting kernel tools.test ;
-
-IN: tzinfo
+USING: calendar formatting kernel tools.test tzinfo ;
 
 {
     "Sun Oct 27 01:00:00 2002"
index 031bc4fb9f04a5781eb16aa4140beb124d8c7cb2..70c8acb0261d4fb2fb01df3f489175365454fa28 100644 (file)
@@ -1,6 +1,5 @@
 ! Copyright (C) 2009 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors kernel tools.test usa-cities ;
-IN: usa-cities.tests
 
 { t } [ 55406 find-zip-code name>> "Minneapolis" = ] unit-test