math: adding a simple test for bignum_square.

db4
John Benediktsson 2014-06-06 10:58:58 -07:00
parent 6c703bbd6c
commit 309ce3aa69
1 changed files with 3 additions and 0 deletions

View File

@ -93,3 +93,6 @@ IN: math.tests
{ 4 } [ 3 next-power-of-2 ] unit-test { 4 } [ 3 next-power-of-2 ] unit-test
{ 4 } [ 4 next-power-of-2 ] unit-test { 4 } [ 4 next-power-of-2 ] unit-test
{ 8 } [ 5 next-power-of-2 ] unit-test { 8 } [ 5 next-power-of-2 ] unit-test
{ t } [ 128 2^ sq 256 2^ = ] unit-test
{ t } [ 128 2^ neg sq 256 2^ = ] unit-test