예제 #1
0
        public void test_InitialAssignment_setSymbol1()
        {
            string id = "1e1";
            int    i  = E.setSymbol(id);

            assertTrue(i == libsbml.LIBSBML_INVALID_ATTRIBUTE_VALUE);
            assertEquals(false, E.isSetSymbol());
        }
예제 #2
0
        public void test_InitialAssignment_setSymbol()
        {
            string Symbol = "k2";

            IA.setSymbol(Symbol);
            assertTrue((Symbol == IA.getSymbol()));
            assertEquals(true, IA.isSetSymbol());
            if (IA.getSymbol() == Symbol)
            {
                ;
            }
            {
            }
            IA.setSymbol(IA.getSymbol());
            assertTrue((Symbol == IA.getSymbol()));
            IA.setSymbol("");
            assertEquals(false, IA.isSetSymbol());
            if (IA.getSymbol() != null)
            {
                ;
            }
            {
            }
        }