Is there a easy way to chain the testable function calls into a concise block to run and increment a score when the test comes back positive? The following is the class to test.

```
public class Weather{
  public Weather(float temp, int day, int month, int year){}
  public float getTemp(){}
  public void setCelsius(){}
  public void setFahrenheit(){}
  public boolean isCelsius(){}
  public String toString(){}

}

```

A typical test case consists of setting the celsius, and fahrenheit, getting the value, and match the string. 

```
Weather testMe = new Weather(100.6f, 31, 7, 1997);
if(testMe.toString().equals("July 31, 1997. Temperature is 100.60 C.")) { score+=1}
if(testMe.getTemp() == 100.6f) {score+=1}
if(testMe.isCelcius()) {score+=1;}
testMe.setFahrenheit();
if(testMe.toString().equals("July 31, 1997. Temperature is 213.08 F.")) { score+=1}
if(testMe.getTemp() == 213.08f) {score+=1}
if(!testMe.isCelcius()) {score+=1;}
testMe.setCelcius();
if(testMe.isCelcius()) {score+=1;}

```

I could repeat this over and over again, but can this testing can be shortened?