@Test
    public void testCondFromString() {
        System.out.println("condFromString");
        String name = "FOE";
        Sense.condition expResult = Sense.condition.FOE;
        Sense.condition result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "FRIEND";
        expResult = Sense.condition.FRIEND;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "FRIENDWITHFOOD";
        expResult = Sense.condition.FRIENDWITHFOOD;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "FOEWITHFOOD";
        expResult = Sense.condition.FOEWITHFOOD;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "FOOD";
        expResult = Sense.condition.FOOD;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "ROCK";
        expResult = Sense.condition.ROCK;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "FRIEND";
        expResult = Sense.condition.FRIEND;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "MARKER0";
        expResult = Sense.condition.MARKER0;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "MARKER1";
        expResult = Sense.condition.MARKER1;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "MARKER2";
        expResult = Sense.condition.MARKER2;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "MARKER3";
        expResult = Sense.condition.MARKER3;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "MARKER4";
        expResult = Sense.condition.MARKER4;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "MARKER5";
        expResult = Sense.condition.MARKER5;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "FOEMARKER";
        expResult = Sense.condition.FOEMARKER;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "HOME";
        expResult = Sense.condition.HOME;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
        
        name = "FOEHOME";
        expResult = Sense.condition.FOEHOME;
        result = Sense.condFromString(name);
        assertEquals(expResult, result);
    }