本文整理汇总了C#中libsbmlcs.Event.setUseValuesFromTriggerTime方法的典型用法代码示例。如果您正苦于以下问题:C# Event.setUseValuesFromTriggerTime方法的具体用法?C# Event.setUseValuesFromTriggerTime怎么用?C# Event.setUseValuesFromTriggerTime使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类libsbmlcs.Event
的用法示例。
在下文中一共展示了Event.setUseValuesFromTriggerTime方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: test_Event_setUseValuesFromTriggerTime2
public void test_Event_setUseValuesFromTriggerTime2()
{
Event e = new Event(2,2);
int i = e.setUseValuesFromTriggerTime(false);
assertTrue( i == libsbml.LIBSBML_UNEXPECTED_ATTRIBUTE );
e = null;
}
示例2: test_L3_Event_hasRequiredAttributes
public void test_L3_Event_hasRequiredAttributes()
{
Event e = new Event(3,1);
assertEquals( false, e.hasRequiredAttributes() );
e.setUseValuesFromTriggerTime(true);
assertEquals( true, e.hasRequiredAttributes() );
e = null;
}
示例3: test_Event_setUseValuesFromTriggerTime1
public void test_Event_setUseValuesFromTriggerTime1()
{
Event e = new Event(2,4);
int i = e.setUseValuesFromTriggerTime(false);
assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
assertTrue( e.getUseValuesFromTriggerTime() == false );
i = e.setUseValuesFromTriggerTime(true);
assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
assertTrue( e.getUseValuesFromTriggerTime() == true );
e = null;
}
示例4: test_Event_setUseValuesFromTriggerTime
public void test_Event_setUseValuesFromTriggerTime()
{
Event object1 = new Event(2,4);
object1.setUseValuesFromTriggerTime(false);
assertTrue( object1.getUseValuesFromTriggerTime() == false );
object1.setUseValuesFromTriggerTime(true);
assertTrue( object1.getUseValuesFromTriggerTime() == true );
object1 = null;
}