extra/: ensuring tests have an IN:-line ending with .tests

char-rename
Björn Lindqvist 2016-08-20 06:01:16 +02:00
parent a26d910b06
commit 485a45a719
12 changed files with 22 additions and 30 deletions

View File

@ -1,4 +1,5 @@
USING: asn1 asn1.ldap io io.streams.string tools.test ;
IN: asn1.tests
{ 6 } [
"\u000002\u000001\u000006" [ asn-syntax read-ber ] with-string-reader

View File

@ -1,6 +1,7 @@
! 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

View File

@ -1,5 +1,5 @@
USING: tools.test ;
IN: fftw
USING: fftw tools.test ;
IN: fftw.tests
{
{ C{ 1.5 0.0 } C{ -0.5 0.0 } }

View File

@ -1,13 +1,8 @@
! Copyright (C) 2014 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.data alien.strings
alien.syntax arrays assocs classes.struct combinators
combinators.short-circuit constructors continuations destructors
forestdb.ffi forestdb.utils fry generalizations io.directories
io.encodings.string io.encodings.utf8 io.files.temp io.pathnames
kernel layouts libc make math math.parser math.ranges multiline
namespaces sequences system tools.test ;
IN: forestdb.lib
USING: accessors alien.strings arrays forestdb.lib forestdb.utils kernel
make multiline sequences tools.test ;
IN: forestdb.lib.tests
! Get/set by key/value
{ "val123" } [
@ -383,4 +378,4 @@ IN: forestdb.lib
] with-fdb-byseq-each
] { } make
] with-forestdb-test-manual
] unit-test
] unit-test

View File

@ -1,5 +1,5 @@
USING: system tools.test ;
IN: magic
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

View File

@ -1,9 +1,7 @@
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
USING: tools.test ;
IN: math.primes.twins
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

View File

@ -1,3 +1,4 @@
USING: math.text.utils tools.test ;
IN: math.text.utils.tests
{ { 1 999 2 } } [ 2999001 3 digit-groups ] unit-test

View File

@ -1,7 +1,7 @@
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
USING: tools.test ;
IN: math.transforms.bwt
USING: math.transforms.bwt tools.test ;
IN: math.transforms.bwt.tests
{ "asdf" } [ "asdf" bwt ibwt ] unit-test

View File

@ -1,7 +1,5 @@
USING: metar.private tools.test ;
IN: metar
IN: metar.tests
{ { "RAB05" "E30" "SNB20" "E55" } }
[ "RAB05E30SNB20E55" split-recent-weather ] unit-test

View File

@ -1,6 +1,6 @@
USING: byte-arrays.hex io.encodings.binary io.streams.byte-array
USING: byte-arrays.hex io.encodings.binary io.streams.byte-array midi
midi.private sequences tools.test ;
IN: midi
IN: midi.tests
! variable-width numbers
{

View File

@ -1,5 +1,5 @@
USING: fonts tools.test ;
IN: pdf.wrap
USING: fonts pdf.wrap tools.test ;
IN: pdf.wrap.tests
{ "hello, " "extra spaces" } [
"hello, extra spaces" word-split1

View File

@ -1,9 +1,7 @@
! Copyright (C) 2011-2013 Eungju PARK, John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
USING: destructors kernel tools.test ;
IN: zeromq
USING: destructors tools.test zeromq ;
IN: zeromq.tests
{ B{ 0 1 10 33 244 255 } } [
B{ 0 1 10 33 244 255 } byte-array>zmq-message