Help for this page

Select Code to Download


  1. or download this
    >perl -MPOSIX -MTest::More -le "cmp_ok(1.4/10, '==', 0.14, 'division')
    +; done_testing();"
    not ok 1 - division
    ...
    #     expected: 0.14
    1..1
    # Looks like you failed 1 test of 1.
    
  2. or download this
    >perl -MPOSIX -MTest::More -le "cmp_ok(1.4/10, '==', 0.14, 'division')
    +; done_testing();"
    not ok 1 - division
    ...
    #     expected: 0.14
    1..1
    # Looks like you failed 1 test of 1.
    
  3. or download this
    not ok 40 - tan(1) == -tan(-1)
    #   Failed test 'tan(1) == -tan(-1)'
    #   at ext/POSIX/t/math.t line 52.
    #          got: 1.55740772465490223050697480745836
    #     expected: 1.55740772465490223050697480745836
    
  4. or download this
    not ok 40 - tan(1) == -tan(-1)
    #   Failed test 'tan(1) == -tan(-1)'
    #   at ext/POSIX/t/math.t line 52.
    #          got: 1.55740772465490223050697480745836023
    #     expected: 1.55740772465490223050697480745836081