Skip to content

Commit

Permalink
add tests for stringification and numification
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Mar 23, 2009
1 parent b982a0a commit b482db0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions t/pmc/boolean.t
Expand Up @@ -18,7 +18,7 @@ Tests C<EclectusBoolean> PMC.

.include "include/test_more.pir"

plan(2)
plan(4)

truth_tests()
exit 0
Expand All @@ -38,7 +38,10 @@ Tests C<EclectusBoolean> PMC.
false = 0

is(true, 1, "true EclectusBoolean is 1")
is(false, "", "false EclectusBoolean is empty")
is(false, 0, "false EclectusBoolean is 0")

is(true, "#t", "false EclectusBoolean is #t")
is(false, "#f", "false EclectusBoolean is #f")
.end

# Local Variables:
Expand Down

0 comments on commit b482db0

Please sign in to comment.