IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 1 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Obfuscated, test cases included.
Fore!

[mike@halfadozen ~/IWT]$ ls\ntotal 16\n-rw-rw-r--    1 mike     mike          255 Nov 26 18:21 Person.java\n-rw-rw-r--    1 mike     mike          601 Nov 26 20:02 PersonShun.java\n-rw-r--r--    1 mike     mike          705 Nov 26 18:46 PersonTest.java\n\n[mike@halfadozen ~/IWT]$ cat Person.java\npublic class Person {\n  private String _name;\n\n  public Person() {\n    _name = "";\n  }\n\n  public Person(String name) {\n    _name = name;\n  }\n\n  public void setName(String name) {\n    _name = name;\n  }\n\n  public String getName() {\n    return _name;\n  }\n}\n\n[mike@halfadozen ~/IWT]$ cat PersonTest.java\nimport Person;\nimport junit.framework.*;\n\npublic class PersonTest extends TestCase {\n  public PersonTest(String name) {\n    super(name);\n  }\n\n  public void testSetName() {\n    Person p = new Person();\n\n    p.setName("Mike");\n    Assert.assertTrue(p.getName().equals("Mike"));\n  }\n\n  public void testBlankConstructor() {\n    Person p = new Person();\n\n    Assert.assertTrue(p.getName().equals(""));\n  }\n\n  public void testNamedConstructor() {\n    Person p = new Person("Mike");\n\n    Assert.assertTrue(p.getName().equals("Mike"));\n  }\n\n  public static Test suite() {\n    return new TestSuite(PersonTest.class);\n  }\n\n  public static void main(String[] args) {\n    junit.textui.TestRunner.run(suite());\n  }\n}\n\n[mike@halfadozen ~/IWT]$ cat PersonShun.java\nimport Person;\n\npublic class PersonShun {\n  private static String[] names = { "Peter", "Scott", "Droog", "Xian", \n                                    "Greg", "KMS", "Meerkat", "Jake" };\n\n  private static void doShun(Person p) {\n    System.out.println("*shun " + p.getName() + "*");\n  }\n\n  public static void main(String[] args) {\n    Person[] people = new Person[names.length];\n\n    for (int i = 0; i < names.length; i++) {\n      people[i] = new Person(names[i]);\n    }\n\n    for (int x = 0; x < names.length; x++) {\n      for (int y = 0; y < 50; y++) {\n        doShun(people[x]);\n      }\n    }\n  }\n}\n\n[mike@halfadozen ~/IWT]$ javac Person.java\n[mike@halfadozen ~/IWT]$ javac PersonTest.java \n[mike@halfadozen ~/IWT]$ javac PersonShun.java \n[mike@halfadozen ~/IWT]$ java PersonTest\n...\nTime: 0.005\n\nOK (3 tests)\n\n[mike@halfadozen ~/IWT]$ java PersonShun\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Peter*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Scott*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Droog*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Xian*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun Greg*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun KMS*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Meerkat*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*\n*shun Jake*
-YendorMike

[link|http://www.hope-ride.org/|http://www.hope-ride.org/]
New /me thinks Mike has entirely too much free time
/me therefore *shun*'s his lameness.
===
Microsoft offers them the one thing most business people will pay any price for - the ability to say "we had no choice - everyone's doing it that way." -- [link|http://z.iwethey.org/forums/render/content/show?contentid=38978|Andrew Grygus]
Expand Edited by drewk Nov. 26, 2002, 02:21:03 PM EST
Expand Edited by drewk Nov. 26, 2002, 02:21:04 PM EST
New Absolutely.
But then again, who needed another reason to *shun* Mike?
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Not much else to do...
...in a country where you don't speak the language, and it's dark before you leave the office even if you leave when everyone else does.

Chat with friends back in the States over IM. Shun y'all. And learn about JUnit. All good fun.

Or: Go back to the room and read a book, I suppose. Or go back to the room and play Moria, or Myst, or kobo-deluxe (damn you Peter.)
-YendorMike

[link|http://www.hope-ride.org/|http://www.hope-ride.org/]
New Level 33
Read it and weep.

*shun*


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Blog]
New Yeah, what's your point?
Level 33. Im-fucking-possible.

*shun*

Bitch.
-YendorMike

[link|http://www.hope-ride.org/|http://www.hope-ride.org/]
     Mike-Shunning Competition - (pwhysall) - (48)
         Bitches. - (Yendor)
         Shunning Mike with the Snake: - (admin) - (7)
             Bitch -NT - (Yendor) - (6)
                 *shun* -NT - (admin)
                 *shun* -NT - (pwhysall)
                 self.idle("stop"); self.shun("Mike"); self.idle("start"); -NT - (drewk) - (3)
                     Bitch -NT - (Yendor) - (2)
                         Stop yer bitchin', bitch. -NT - (CRConrad) - (1)
                             Who asked you? - (Yendor)
         bashun - (kmself) - (15)
             Python still the one to beat at 31 characters. - (admin) - (7)
                 Well I Wouldn't want to shun Mike, but... - (Meerkat) - (3)
                     Oooers... - (admin)
                     Not you, too! - (Yendor)
                     Nice, but a wee problem... - (inthane-chan)
                 Not any more it ain't - (ben_tilly) - (2)
                     Perl range answer - (pwhysall) - (1)
                         Now inline it - (ben_tilly)
             Re: bashun II - (kmself) - (6)
                 woah... I like it... -NT - (folkert)
                 Reading trouble? - (ben_tilly)
                 bitch, etc -NT - (Yendor)
                 Re: bashun III - (kmself) - (1)
                     Very nasty - (ben_tilly)
                 You can lose a character - (ben_tilly)
         The undisputed master? - (CRConrad) - (2)
             Nope, invalid entry. - (admin)
             Not only that... - (Yendor)
         Bigger, badder, better... - (Yendor) - (6)
             Obfuscated, test cases included. - (Yendor) - (5)
                 /me thinks Mike has entirely too much free time - (drewk) - (4)
                     Absolutely. - (admin)
                     Not much else to do... - (Yendor) - (2)
                         Level 33 - (pwhysall) - (1)
                             Yeah, what's your point? - (Yendor)
         Re: Mike-Shunning Competition - (jake123) - (5)
             Well, if we're running in the interpreter: - (admin) - (2)
                 Yeah, it's called rexxtry - (jake123) - (1)
                     way back in the stone ages... - (cforde)
             Bitch. - (Yendor) - (1)
                 I am honoured. - (jake123)
         Gotta do an Icon version... - (static)
         Re: Mike-Shunning Competition - (deSitter) - (4)
             What, no prize?? -NT - (deSitter) - (3)
                 Well... - (ben_tilly) - (2)
                     Re: Well... - (deSitter) - (1)
                         Perhaps an example would help clarify - (ben_tilly)
         Clearly: this is how MAN entries are edited.__All explained. -NT - (Ashton)

It's a lot less messy in here when Karsten's absent...
115 ms