Пример #1
0
bool TestExtApc::test_apc_exists() {
  f_apc_store("ts", "TestString");
  VS(f_apc_exists("ts"), true);
  VS(f_apc_exists("TestString"), false);
  VS(f_apc_exists(CREATE_VECTOR2("ts", "TestString")), CREATE_VECTOR1("ts"));
  return Count(true);
}
Пример #2
0
bool TestExtApc::test_apc_exists() {
  f_apc_store(s_ts, s_TestString);
  VS(f_apc_exists(s_ts), true);
  VS(f_apc_exists(s_TestString), false);
  VS(f_apc_exists(CREATE_VECTOR2(s_ts, s_TestString)), CREATE_VECTOR1(s_ts));
  return Count(true);
}