Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Help me make a test case for Math::BigFloat

by xdg (Monsignor)
on Mar 06, 2006 at 20:39 UTC ( [id://534752]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    is( $e      , 1,    '$e should equal 1'     );
    is( 1-$e    , 0,    '1-$e should equal 0'   );
    is( 1-"$e"  , 0,    '1-"$e" should equal 0' );
    
  2. or download this
    1..3
    ok 1 - $e should equal 1
    ...
    #     expected: '0'
    ok 3 - 1-"$e" should equal 0
    # Looks like you failed 1 test of 3.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://534752]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-03-28 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found