Fix unit tests for specialized-arrays.direct change
parent
a054ec3d64
commit
1798000335
|
@ -5,8 +5,9 @@ classes.struct classes.tuple.private combinators
|
|||
compiler.tree.debugger compiler.units destructors
|
||||
io.encodings.utf8 io.pathnames io.streams.string kernel libc
|
||||
literals math mirrors multiline namespaces prettyprint
|
||||
prettyprint.config see sequences specialized-arrays.char int
|
||||
specialized-arrays.ushort struct-arrays system tools.test ;
|
||||
prettyprint.config see sequences specialized-arrays.char
|
||||
specialized-arrays.int specialized-arrays.ushort
|
||||
struct-arrays system tools.test ;
|
||||
IN: classes.struct.tests
|
||||
|
||||
<<
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
IN: specialized-arrays.tests
|
||||
USING: tools.test specialized-arrays sequences
|
||||
USING: tools.test alien.syntax specialized-arrays sequences
|
||||
specialized-arrays.int specialized-arrays.bool
|
||||
specialized-arrays.ushort alien.c-types accessors kernel
|
||||
specialized-arrays.char specialized-arrays.uint arrays combinators ;
|
||||
|
@ -30,4 +30,5 @@ specialized-arrays.char specialized-arrays.uint arrays combinators ;
|
|||
|
||||
[ ushort-array{ 0 0 0 } ] [
|
||||
3 ALIEN: 123 100 <direct-ushort-array> new-sequence
|
||||
dup [ drop 0 ] change-each
|
||||
] unit-test
|
|
@ -1,8 +1,7 @@
|
|||
! Copyright (C) 2009 Doug Coleman
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel accessors grouping sequences combinators math
|
||||
byte-arrays fry specialized-arrays.direct.ushort
|
||||
specialized-arrays.uint specialized-arrays.ushort
|
||||
byte-arrays fry specialized-arrays.uint specialized-arrays.ushort
|
||||
specialized-arrays.float images half-floats ;
|
||||
IN: images.normalization
|
||||
|
||||
|
|
Loading…
Reference in New Issue