当前位置: 首页>>代码示例>>C++>>正文


C++ UnityEnd函数代码示例

本文整理汇总了C++中UnityEnd函数的典型用法代码示例。如果您正苦于以下问题:C++ UnityEnd函数的具体用法?C++ UnityEnd怎么用?C++ UnityEnd使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了UnityEnd函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: main

//=======MAIN=====
int main(int argc, char *argv[])
{
  progname = argv[0];
  UnityBegin("rc_cmdlength.c");
  RUN_TEST(test_EvaluateCommandLength, 15);

  return (UnityEnd());
}
开发者ID:cemeyer,项目名称:freebsd-base-graphics,代码行数:9,代码来源:run-rc_cmdlength.c

示例2: main

//=======MAIN=====
int main(int argc, char *argv[])
{
  progname = argv[0];
  UnityBegin("numtohost.c");
  RUN_TEST(test_LoopbackNetNonResolve, 9);

  return (UnityEnd());
}
开发者ID:ajinkya93,项目名称:netbsd-src,代码行数:9,代码来源:run-numtohost.c

示例3: main

//=======MAIN=====
int main(void)
{
  Unity.TestFile = "test_LEDSM.c";
  UnityBegin();
  RUN_TEST(test_ledSM_state_will_go_LED_BLINKING_ON_with_button_released, 59);

  return (UnityEnd());
}
开发者ID:jameshomunhoe,项目名称:BlinkingWithButton,代码行数:9,代码来源:test_LEDSM_runner.c

示例4: main

//=======MAIN=====
int main(void)
{
  Unity.TestFile = "test_Callback.c";
  UnityBegin();
  RUN_TEST(test_module_generator_needs_to_be_implemented, 14);

  return (UnityEnd());
}
开发者ID:darklord1310,项目名称:ComplexExpression,代码行数:9,代码来源:test_Callback_runner.c

示例5: main

int main(void)
{
   UnityBegin("test/test_hello_world.c");

   RUN_TEST(test_hello);

   return UnityEnd();
}
开发者ID:exercism,项目名称:xc,代码行数:8,代码来源:test_hello_world.c

示例6: main

//=======MAIN=====
int main(void)
{
  Unity.TestFile = "test_OperatorEvaluate.c";
  UnityBegin();
  RUN_TEST(test_operator_evaluate_should_calculate_2_PLUS_3, 14);

  return (UnityEnd());
}
开发者ID:jasonchuah93,项目名称:JasonShuntingYard,代码行数:9,代码来源:test_OperatorEvaluate_runner.c

示例7: main

//=======MAIN=====
int main(void)
{
  UnityBegin("testdata/testsample.c");
  RUN_TEST(test_TheFirstThingToTest, 21);
  RUN_TEST(test_TheSecondThingToTest, 43);

  return (UnityEnd());
}
开发者ID:berdroid,项目名称:Unity,代码行数:9,代码来源:testsample_def.c

示例8: main

//=======MAIN=====
int main(int argc, char *argv[])
{
  progname = argv[0];
  UnityBegin("prettydate.c");
  RUN_TEST(test_ConstantDate, 10);

  return (UnityEnd());
}
开发者ID:ajinkya93,项目名称:netbsd-src,代码行数:9,代码来源:run-prettydate.c

示例9: main

//=======MAIN=====
int main(int argc, char *argv[])
{
  progname = argv[0];
  UnityBegin("refidsmear.c");
  RUN_TEST(test_refidsmear, 36);

  return (UnityEnd());
}
开发者ID:2asoft,项目名称:freebsd,代码行数:9,代码来源:run-refidsmear.c

示例10: main

//=======MAIN=====
int main(void)
{
  Unity.TestFile = "test_linkedList.c";
  UnityBegin();
  RUN_TEST(test_create_linkedList_should_return_initialized_linkedList_object, 8);
  RUN_TEST(test_List_addLast_should_add_last_third_element, 73);

  return (UnityEnd());
}
开发者ID:kenmunyap,项目名称:LinkedList-update2,代码行数:10,代码来源:test_linkedList_runner.c

示例11: main

//=======MAIN=====
int main(int argc, char *argv[])
{
  progname = argv[0];
  UnityBegin("bug-2803.c");
  RUN_TEST(test_main, 18);
  RUN_TEST(test_main, 18);

  return (UnityEnd());
}
开发者ID:ajinkya93,项目名称:netbsd-src,代码行数:10,代码来源:run-bug-2803.c

示例12: main

//=======MAIN=====
int main(void)
{
  UnityBegin("../test/memory_get_test.c");
  RUN_TEST(test_assign_memory_get, 12);
  RUN_TEST(test_memory_get_width, 68);
  RUN_TEST(test_assign_memory_get_then_get, 157);

  return (UnityEnd());
}
开发者ID:wrpaape,项目名称:libraries,代码行数:10,代码来源:memory_get_test_runner.c

示例13: main

//=======MAIN=====
int main(int argc, char *argv[])
{
  progname = argv[0];
  UnityBegin("refnumtoa.c");
  RUN_TEST(test_LocalClock, 12);
  RUN_TEST(test_UnknownId, 13);

  return (UnityEnd());
}
开发者ID:fgken,项目名称:netbsd-src,代码行数:10,代码来源:run-refnumtoa.c

示例14: main

//=======MAIN=====
int main(void)
{
    Unity.TestFile = "test_LED.c";
    UnityBegin();
    RUN_TEST(test_LED_Init_should_initialize_the_LED_OFF, 13);
    RUN_TEST(test_LED_Toggle_should_toggle_the_LED, 25);

    return (UnityEnd());
}
开发者ID:ThrowTheSwitch,项目名称:blinky,代码行数:10,代码来源:test_LED_runner.c

示例15: main

//=======MAIN=====
int main(void)
{
  Unity.TestFile = "test_POPOperation.c";
  UnityBegin();
  RUN_TEST(test_pop_should_pop_the_next_value, 9);
  RUN_TEST(test_pop_operand1_is_not_off, 34);

  return (UnityEnd());
}
开发者ID:kenmunyap,项目名称:PIC18SimulatorOld,代码行数:10,代码来源:test_POPOperation_runner.c


注:本文中的UnityEnd函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。