@Test
public void testCommentInstructionParsing() {

    Leg[] legs = SurvexImporter.parseAnyPromotedLegs(
            "{from: 1 0 0, 1.0 0.0 0.0, 1.0 0.0 0.0}");
    Assert.assertEquals(3, legs.length);
    for (Leg leg : legs) {
        Assert.assertEquals(leg.getDistance(), 1.0);
        Assert.assertEquals(leg.getAzimuth(), 0.0);
        Assert.assertEquals(leg.getInclination(), 0.0);
    }
}