Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (9 sloc) 0.422 kb
! Copyright (C) 2011 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: code-arrays locals math tools.test ;
IN: code-arrays.tests
[ { 1 2 9 } ] [ {{ 1 2 3 sq }} ] unit-test
[ { 1 2 { 9 } } ] [ {{ 1 2 {{ 3 sq }} }} ] unit-test
[ H{ { 9 3 } { 4 1 } } ] [ H{{ {{ 3 sq 3 }} {{ 2 sq 1 }} }} ] unit-test
:: local-code-arrays ( -- seq ) {{ 1 2 3 + }} ;
[ { 1 5 } ] [ local-code-arrays ] unit-test
Jump to Line
Something went wrong with that request. Please try again.