public int setValue(double value) { int ret = libsbmlPINVOKE.ASTNode_setValue__SWIG_2(swigCPtr, value); return ret; }
public void test_MathMLFormatter_constant_notanumber() { string expected = wrapMathML(" <notanumber/>\n"); N = new ASTNode(libsbml.AST_REAL); N.setValue( util_NaN() ); S = libsbml.writeMathMLToString(N); assertEquals( true, equals(expected,S) ); }