Originally Posted by Triumph
|
@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
|
I have to find a way to make ALL Fiesta players happy... at once
|
I HONESTLY wish you the best of luck.