Plodding on with tests
authorRyan Jendoubi <ryan.jendoubi@gmail.com>
Tue, 28 Dec 2010 02:25:50 +0000 (02:25 +0000)
committerRyan Jendoubi <ryan.jendoubi@gmail.com>
Tue, 28 Dec 2010 02:25:50 +0000 (02:25 +0000)
commit2e10efa436fb64a0858f1bd9c0d3cb1b0d232c2d
tree7252a131074d4b6939fd6a0b151cd28e7c52b879
parente7ce3b115d51601055872551df8db7dc738b2b40
Plodding on with tests

Unsigned integer wrap-around by pack() appears irregular. Looking
into it.

Also, since hook_out performs chr() on a c_char's value, ++ might
need overloaded... but I'm not sure how to make it a special
overload just for that type.

modified:   Makefile.PL
modified:   lib/Ctypes.pm
modified:   lib/Ctypes/Type.pm
modified:   lib/Ctypes/Type/Simple.pm
modified:   t/Simple_int.t
new file:   t/Simple_long.t
modified:   t/Simple_short.t
new file:   t/Simple_uint.t
new file:   t/Simple_ulong.t
modified:   t/Simple_ushort.t
new file:   t/limits_test.t
new file:   t/pack_overflow.t
12 files changed:
Makefile.PL
lib/Ctypes.pm
lib/Ctypes/Type.pm
lib/Ctypes/Type/Simple.pm
t/Simple_int.t
t/Simple_long.t [new file with mode: 0644]
t/Simple_short.t
t/Simple_uint.t [new file with mode: 0644]
t/Simple_ulong.t [new file with mode: 0644]
t/Simple_ushort.t
t/limits_test.t [new file with mode: 0644]
t/pack_overflow.t [new file with mode: 0644]