Tests for is_deep_equal and deep_twin
- From:
- Paolo Redaelli
- Date:
- 2012-02-02 @ 14:01
I've finished a preliminar version of deep_twin and is_deep_equal in
pure Eiffel, thank to the almight INTERNALS.
I had to stretch them a little and I think I found at least a bug in
INTERNALS implementation; I also had to make "to_internals" available to
ANY.
You may find it at https://github.com/tybor/Liberty/tree/deep-twin-in-eiffel
I wrote a couple test classes but I would appreciate suggestions on how
to test those features that althought present in ANY and therefore
omnipresent are seldom used.
Please feel free to fork this branch and/or provide further tests: you
find it at
https://github.com/tybor/Liberty/blob/deep-twin-in-eiffel/test/lib/kernel/test_deep_twin.e
and
https://github.com/tybor/Liberty/blob/deep-twin-in-eiffel/test/lib/kernel/test_is_deep_equal.e
Happy hacking
Paolo
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it http://www.email.it/f
Sponsor:
Scopri il nuovo iPhone 4 per P.Iva e scegli le offerte tariffarie di Vodafone.
* Basta richiedere informazioni
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12095&d=2-2