@Test
public void testGetConfidence() throws Exception {

    final SmlInterpretationExtractor extractor = readSml("sml-simple.xml");
    final KinectRecognitionResult result =
            new KinectRecognitionResult(extractor);
    Assert.assertEquals(0.5100203, result.getConfidence(),
            MAX_CONFIDENCE_DIFF);
}