comment is wrong
#negative big float
#negative big int
reverse paired delim qq actually tests reverse paired delim q
in other words, change
q)hi(; to qq)hi(; for that test.
This isn't your fault, but I have to say that 0o0777 looks really bad in my
looks like 000777. Perhaps the powers that be may eliminate octal (who uses
or change it to c? t? or l?
The int -> bit conversion doesn't actually convert anything...pehaps you
meant bit instead of int?
If you, in fact, did mean bit instead of int, then shouldn't -2 become 1
instead of 0...I would imagine that anything non-zero would go to 1?
Also, same applies with num -> bit...no conversions were made.
The Interpolation of Hash as Expressions
You have %hash.keys interpolating as
I would imagine it would interpolate the same way as an array
(i.e. item two)
Also, you test array with non-interpolation, but you don't hash.
In the $() test, you define x but never use it.
Also, in the unimplemented & test, I didn't think & was special in a string.
Instead, I thought
we should use $() such that
Is this correct?
Anyway, it looks good...keep up the good work.
----- Original Message -----
From: "Joseph F. Ryan" <firstname.lastname@example.org>
Sent: Saturday, November 23, 2002 4:58 AM
Subject: More tests.
I've added a slew of new tests to the p6-literals test-suite, including:
- Error tests.
- Subscripted variable interpolation.
- Variable method interpolation.
- Many conversion tests.
I was a bit unsure (read: possibly rong as wrabbits) on some of the error
and conversion tests, so let me know if you find any errors or
Find them at:http://jryan.perlmonk.org/images/literals.tar.gz