Re: Literal Values

[email protected] ("chromatic")
Newsgroups perl.perl6.documentation
Organization chr0matic industries
Message-ID <[email protected]>
On Tue, 12 Nov 2002 17:56:28 +0000, Joseph F. Ryan wrote:

> Alright, I have the tests done to match this section of the documentation.
> Well, everything except 'bit', since the last time I checked (and this
> could be resolved by now), there was some debate over Boolean types, and
> I know bit was included in this argument.  Also, I'm still not sure how
> hashes are supposed to interpolate within strings, and I'm also a bit
> unsure on how &() is supposed to work.
> 
> On another note, I redid my string and interpolation tests to conform with
> the Test::More-ish style (including TODO-block tests) that P6C currently
> uses.  Let me know if you like that better than what I did in that last
> message I sent.

For the most part, they look fine to me.  I'm a little concerned about some of
the numeric tests:

	output_is(<<'CODE', <<'OUT', "Simple Floats");
	print 4.5;
	print 0.0;
	print 13.12343
	CODE
	4.50.013.12343
	OUT

I'd be more comfortable with a newline between the numbers, just in case.  It's
not an issue in the string tests.

-- c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.