Thread: *sighsighsigh*
View Single Post
Old 10-01-2009, 11:17 AM   #24
Belaslav
Yank me.


 
Belaslav's Avatar
 

In-Game Name: -quit-
Current Level: -quit-
Server: Teva
Posts: 1,502
Belaslav has much to be proud ofBelaslav has much to be proud ofBelaslav has much to be proud ofBelaslav has much to be proud ofBelaslav has much to be proud ofBelaslav has much to be proud ofBelaslav has much to be proud ofBelaslav has much to be proud ofBelaslav has much to be proud ofBelaslav has much to be proud of
Send a message via MSN to Belaslav
Originally Posted by Triumph View Post
@Test
public void pointMinus() {
Point x = new Point(4, 2);
Point y = new Point(1, 6);
Point pointMinus = x.minus(y);
comparePoints(new Point(4, 2), x);
comparePoints(new Point(1, 6), y);
comparePoints(new Point(3, -4), pointMinus);
compareDoubles(3, pointMinus.getX());
compareDoubles(-4, pointMinus.getY());
System.out.println("Initial Point Check (X): " + x);
System.out.println("Initial Point Check (Y): " + y);
System.out.println("Point Subtraction Check: " + pointMinus);
}



Welcome to my world.

We're still only doing beginner stuff too...
Lol, custom java APIs? So what's the purpose of this Point class? And where's the rest of the code?

Originally Posted by SKiNG View Post
I have to find a way to make ALL Fiesta players happy... at once
I HONESTLY wish you the best of luck.
__________________


Free software for Virus, Malware, Adware and Spyware protection: Avast and Malwarebytes' Anti-Malware.

Those of you using Firefox I recommend NoScript and AdBlock Plus addons.
Belaslav is offline   Reply With Quote