I am having problems trying to figure out what to do if the two temp scales are the same (Fahrenheit and Fahrenheit).

How should I write my comparison method and test code?

Thanks,
Eric

Here is one of my comparison methods:

Code:
//comparison method to test whether one temperatures is greater than another.
public boolean greaterThan(Temperature t)
{
	if(this.tempScale == (t.tempScale))
	{
		return(this.tempScale == t.tempScale);	
	}
	else if(this.tempScale == 'C')//this is C
	{
		return(this.tempValue > (t.getC()));
	}
	else //this is F
	{
		return(this.tempValue > (t.getF()));
	}
}
Originally, I had my driver (test) code like this:


Code:
//t26 and t27 test the greaterThan method to show not greater than
Temperature t26 = new Temperature(37.4, 'c');
Temperature t27 = new Temperature(89.5, 'f');
if(t26.greaterThan(t27))
{
	System.out.println("37.4 degrees C is greater than 89.5 degrees F.");
}
else
{
	System.out.println("37.4 degrees C is not greater than 89.5 degrees F.");
}
I have been trying to find a better way to either write the test code or change what the first if statement returns. I am going in circles here. Can anyone lend some advice or at least try to push me in the direction I need to go? I'm all ears.

Thanks,
Eric