Skip to content

Commit

Permalink
math.functions.integer-logs: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed May 2, 2023
1 parent ba662ac commit 5b991ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions basis/math/functions/integer-logs/integer-logs-tests.factor
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
USING: tools.test math math.functions math.functions.integer-logs ;
IN: math.functions.integer-logs.tests

[ -576460752303423489 integer-log10 ] [ log-expects-positive? ] must-fail-with
[ -123124 integer-log10 ] [ log-expects-positive? ] must-fail-with
[ -1/2 integer-log10 ] [ log-expects-positive? ] must-fail-with
[ 0 integer-log10 ] [ log-expects-positive? ] must-fail-with
[ -576460752303423489 integer-log10 ] [ positive-number-expected? ] must-fail-with
[ -123124 integer-log10 ] [ positive-number-expected? ] must-fail-with
[ -1/2 integer-log10 ] [ positive-number-expected? ] must-fail-with
[ 0 integer-log10 ] [ positive-number-expected? ] must-fail-with

{ 0 } [ 1 integer-log10 ] unit-test
{ 0 } [ 5 integer-log10 ] unit-test
Expand Down

0 comments on commit 5b991ef

Please sign in to comment.