On Fri, 28 Sep 2007 at 09:57 -0600, Hans Fugal wrote:
> # tests
> ['8:12','10:12:33', '5 + 3*6:50', '8 / 13*15:32:20.4 - 10'].each do |e|
>   puts "#{e} -> #{secondize(e)}"
> end

Missed an obvious test case: 

10:25 - 6:50 / 12:23:44 -> 625.0 - 410.0 / 44624.0

-- 
Hans Fugal ; http://hans.fugal.net
 
There's nothing remarkable about it. All one has to do is hit the 
right keys at the right time and the instrument plays itself.
    -- Johann Sebastian Bach

Attachment: signature.asc
Description: Digital signature

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to