@Test public void unitToStringTest_Celsius() { Temperature celciusTemperature = new Temperature(0, Temperature.Units.CELSIUS); assertEquals("буC", celciusTemperature.unitsToString()); }
@Test public void unitToStringTest_Fahrenheit() { Temperature fahrenheitTemperature = new Temperature(0, Temperature.Units.FAHRENHEIT); assertEquals("буF", fahrenheitTemperature.unitsToString()); }
@Test public void unitToStringTest_Kelvin() { Temperature kelvinTemperature = new Temperature(0, Temperature.Units.KELVIN); assertEquals("K", kelvinTemperature.unitsToString()); }