[: Re: [PEAR-DEV] Time_Span]
| From: | luca at lucarella dot com dot ar | Date: | Sun, 30 Mar 2003 03:24:43 +0000 |
| Subject: | [: Re: [PEAR-DEV] Time_Span] | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-14726@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Braund, el domingo 30 de marzo a las 06:27 me escribiste:
> > Anyway, you can see the work done here:
> >
> > http://www.llucax.hn.org/desarrollo/hooks/lib/Time/Span.php (the
> > class)
> >
> > http://www.llucax.hn.org/desarrollo/hooks/tests/Time/span.php
> > (PHPUnit test)
>
> I just did a quick test on a Win2K box and noticed;
> testsubstract()
> should be
> testsubtract()
Aaahhrrrrmmmmmmm.... Fixed! (in test file and in Time_Span class).
(sorry about my horrible english :).
> Also the comment at the top of the unitTest shows;
> Hooks |
> // +--------------------------------------------------------------------+
> // | This file is part of Hooks.
>
> and GPL. Is this right? ie PHP licence.
Well, this was a wrong file header, I've fixed it. I really prefer to
release my classes and files under GPL, if it's possible.
Anyway it's fixed now.
> and I got unitTest failures for;
> TestCase time_spantest->testformat() failed: expected d: 1.1288310185185, actual
> d: 1.12883101852
> TestCase time_spantest->testformat() failed: expected e: 27.091944444444, actual
> e: 27.0919444444
> TestCase time_spantest->testformat() failed: expected f: 1625.5166666667, actual
> f: 1625.51666667
Mmmm, yeah... now I've got that too in my Debian GNU/Linux. I've fixed
it, but it was working fine anyway, the problem was the number of
digits diplayed.
- --
LUCA - Leandro Lucarella - Usando Debian GNU/Linux Sid - GNU Generation
- ------------------------------------------------------------------------
E-Mail / JID: luca@lugmen.org.ar
GPG Fingerprint: D9E1 4545 0F4B 7928 E82C 375D 4B02 0FE0 B08B 4FB2
GPG Key: gpg --keyserver pks.lugli.org.ar --recv-keys B08B4FB2
- ------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+hmN7SwIP4LCLT7IRApjVAKCHBPFzIKy+vh8B+yIfr7naefw5yACghgSU
FWVbnbImTjGaJfE9HhKabY8=
=vnwn
-----END PGP SIGNATURE-----