*/
@Test
public void testWrt()
{
HhdVersion version = null;
Param p = null;
String code = "HKAOM";
version = getHhdVersion(code,ChallengeInfo.VERSION_HHD_1_2);
p = version.getParams().get(1);
Assert.assertEquals(p.getPath(),"BTG.value");
Assert.assertEquals(p.getType(),"Wrt");
Assert.assertEquals(p.format("100"),"100,");
Assert.assertEquals(p.format("100.50"),"100,5");
Assert.assertEquals(p.format("100.99"),"100,99");
Assert.assertNull(p.format(null));
version = getHhdVersion(code,ChallengeInfo.VERSION_HHD_1_3);
p = version.getParams().get(2);
Assert.assertEquals(p.getPath(),"BTG.value");
Assert.assertEquals(p.getType(),"Wrt");
Assert.assertEquals(p.format("100"),"100,");
Assert.assertEquals(p.format("100.50"),"100,5");
Assert.assertEquals(p.format("100.99"),"100,99");
Assert.assertNull(p.format(null));
version = getHhdVersion(code,ChallengeInfo.VERSION_HHD_1_4);
p = version.getParams().get(0);
Assert.assertEquals(p.getPath(),"BTG.value");
Assert.assertEquals(p.getType(),"Wrt");
Assert.assertEquals(p.format("100"),"100,");
Assert.assertEquals(p.format("100.50"),"100,5");
Assert.assertEquals(p.format("100.99"),"100,99");
Assert.assertNull(p.format(null));
}