src/lib/fidl/c/coding_tables_tests/coding_tables_tests.cc
// This ensures that the number collision tests compile. (See FIDL-448).
// These tests ensure that the name mangling rules used in the generator avoid certain types
// of collisions that appeared in earlier versions (e.g. number of elements would merge with
// other content).
This ensures that the number collision tests compile.
This ensures that the number collision tests compile .
TEST(NumberCollision, CodingTable) {
  const fidl_type& type = llcpp::fidl::test::example::codingtables::
      fidl_test_example_codingtables_CodingNumberCollisionRequestTable;
  ASSERT_EQ(kFidlTypeStruct, type.type_tag());
  const FidlCodedStruct& number_collision_table = type.coded_struct();
  ASSERT_STR_EQ("fidl.test.example.codingtables/CodingNumberCollisionRequest",
                number_collision_table.name);
  ASSERT_EQ(5, number_collision_table.element_count);
}
TEST ( NumberCollision , CodingTable ) { const fidl_type & type = llcpp :: fidl :: test :: example :: codingtables :: fidl_test_example_codingtables_CodingNumberCollisionRequestTable ; ASSERT_EQ ( kFidlTypeStruct , type . type_tag ( ) ) ; const FidlCodedStruct & number_collision_table = type . coded_struct ( ) ; ASSERT_STR_EQ ( " " , number_collision_table . name ) ; ASSERT_EQ ( 5 , number_collision_table . element_count ) ; }
This ensures that the number collision tests compile.
This ensures that the number collision tests compile .