Revision: 886
Author: tim.bunce
Date: Wed Oct 28 04:10:16 2009
Log: Tried to make t/30-util.t less prone to floating point issues
(presumed to be the cause of  
http://www.nntp.perl.org/group/perl.cpan.testers/2009/07/msg4389798.html)

http://code.google.com/p/perl-devel-nytprof/source/detail?r=886

Modified:
  /trunk/t/30-util.t

=======================================
--- /trunk/t/30-util.t  Fri Mar  6 03:10:01 2009
+++ /trunk/t/30-util.t  Wed Oct 28 04:10:16 2009
@@ -28,7 +28,7 @@
  is(fmt_incl_excl_time(3, 2), "3.00s (2.00+1.00)");
  is(fmt_incl_excl_time(3, 2.997), "3.00s (3.00+3.00ms)");
  is(fmt_incl_excl_time(0.1, 0.0997), "100ms (99.7+300$us)");
-is(fmt_incl_excl_time(1.1e-5, 3.5e-6), "11$us (4+8)");
+is(fmt_incl_excl_time(1.5e-5, 3.5e-6), "15$us (4+12)");

  is html_safe_filename('/foo/bar'), 'foo-bar';
  is html_safe_filename('\foo\bar'), 'foo-bar';

--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to