Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
No, I tried BigNum but that didn't help. The only one solution that comes to my mind (besides fixing tests) is to write a function that mimic floats rounding of the original platform/ruby version/language.
It's all wrong, the test cases for submit are wrong. Should be something like this.
import java.util.Random;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class PruebasCelsius {
String solution(int temperture) {
int c = (int) ((temperture - 32) * (5/9.0));
return c + (c <= 0 ? " is freezing temperature" : " is above freezing temperature");
}
}