fn create_table_3() -> tables::Tables {
            let mut tables2 = tables::Tables::default();
            let build_2_1 = tables2.register_builds(
                String::from("package2"),
                String::from("version1"),
                String::from("crate2"),
                1usize.into(),
                String::from("edition1"),
            );
            assert_eq!(tables2.interning_tables.builds.len(), 1);
            assert_eq!(tables2.interning_tables.strings.len(), 4);
            assert_eq!(tables2.interning_tables.package_names.len(), 1);
            assert_eq!(tables2.interning_tables.package_versions.len(), 1);
            assert_eq!(tables2.interning_tables.crate_names.len(), 1);
            assert_eq!(tables2.interning_tables.editions.len(), 1);
            let (root_2_1,) = tables2.register_root_modules(build_2_1);
            assert_eq!(tables2.relations.root_modules.len(), 1);
            let def_path_2_1 = tables2.register_def_paths(
                String::from("crate2"),
                1usize.into(),
                String::from("relative_def_id1"),
                (1u64, 2u64).into(),
                String::from("summary_1"),
            );
            assert_eq!(tables2.interning_tables.def_paths.len(), 1);
            assert_eq!(tables2.interning_tables.relative_def_paths.len(), 1);
            assert_eq!(tables2.interning_tables.summary_keys.len(), 1);
            assert_eq!(tables2.interning_tables.strings.len(), 6);
            let def_path_2_2 = tables2.register_def_paths(
                String::from("crate2"),
                1usize.into(),
                String::from("relative_def_id2"),
                (3u64, 4u64).into(),
                String::from("summary_2"),
            );
            assert_eq!(tables2.interning_tables.def_paths.len(), 2);
            assert_eq!(tables2.interning_tables.relative_def_paths.len(), 2);
            assert_eq!(tables2.interning_tables.summary_keys.len(), 2);
            assert_eq!(tables2.interning_tables.strings.len(), 8);
            let (module_2_1,) = tables2.register_submodules(
                def_path_2_1,
                root_2_1,
                String::from("mod1"),
                types::Visibility::Public,
                String::from("abi1"),
            );
            assert_eq!(tables2.relations.submodules.len(), 1);
            assert_eq!(tables2.interning_tables.names.len(), 1);
            assert_eq!(tables2.interning_tables.abis.len(), 1);
            assert_eq!(tables2.interning_tables.strings.len(), 10);
            tables2.register_submodules(
                def_path_2_2,
                module_2_1,
                String::from("mod3"),
                types::Visibility::Public,
                String::from("abi2"),
            );
            assert_eq!(tables2.relations.submodules.len(), 2);
            assert_eq!(tables2.interning_tables.names.len(), 2);
            assert_eq!(tables2.interning_tables.abis.len(), 2);
            assert_eq!(tables2.interning_tables.strings.len(), 12);
            tables2
        }
// Create and populate tables 3.
Create and populate tables 3.
Create and populate tables 3 .
fn create_table_3() -> tables::Tables {
            let mut tables2 = tables::Tables::default();
            let build_2_1 = tables2.register_builds(
                String::from("package2"),
                String::from("version1"),
                String::from("crate2"),
                1usize.into(),
                String::from("edition1"),
            );
            assert_eq!(tables2.interning_tables.builds.len(), 1);
            assert_eq!(tables2.interning_tables.strings.len(), 4);
            assert_eq!(tables2.interning_tables.package_names.len(), 1);
            assert_eq!(tables2.interning_tables.package_versions.len(), 1);
            assert_eq!(tables2.interning_tables.crate_names.len(), 1);
            assert_eq!(tables2.interning_tables.editions.len(), 1);
            let (root_2_1,) = tables2.register_root_modules(build_2_1);
            assert_eq!(tables2.relations.root_modules.len(), 1);
            let def_path_2_1 = tables2.register_def_paths(
                String::from("crate2"),
                1usize.into(),
                String::from("relative_def_id1"),
                (1u64, 2u64).into(),
                String::from("summary_1"),
            );
            assert_eq!(tables2.interning_tables.def_paths.len(), 1);
            assert_eq!(tables2.interning_tables.relative_def_paths.len(), 1);
            assert_eq!(tables2.interning_tables.summary_keys.len(), 1);
            assert_eq!(tables2.interning_tables.strings.len(), 6);
            let def_path_2_2 = tables2.register_def_paths(
                String::from("crate2"),
                1usize.into(),
                String::from("relative_def_id2"),
                (3u64, 4u64).into(),
                String::from("summary_2"),
            );
            assert_eq!(tables2.interning_tables.def_paths.len(), 2);
            assert_eq!(tables2.interning_tables.relative_def_paths.len(), 2);
            assert_eq!(tables2.interning_tables.summary_keys.len(), 2);
            assert_eq!(tables2.interning_tables.strings.len(), 8);
            let (module_2_1,) = tables2.register_submodules(
                def_path_2_1,
                root_2_1,
                String::from("mod1"),
                types::Visibility::Public,
                String::from("abi1"),
            );
            assert_eq!(tables2.relations.submodules.len(), 1);
            assert_eq!(tables2.interning_tables.names.len(), 1);
            assert_eq!(tables2.interning_tables.abis.len(), 1);
            assert_eq!(tables2.interning_tables.strings.len(), 10);
            tables2.register_submodules(
                def_path_2_2,
                module_2_1,
                String::from("mod3"),
                types::Visibility::Public,
                String::from("abi2"),
            );
            assert_eq!(tables2.relations.submodules.len(), 2);
            assert_eq!(tables2.interning_tables.names.len(), 2);
            assert_eq!(tables2.interning_tables.abis.len(), 2);
            assert_eq!(tables2.interning_tables.strings.len(), 12);
            tables2
        }
fn create_table_3 ( ) -> tables :: Tables { let mut tables2 = tables :: Tables :: default ( ) ; let build_2_1 = tables2 . register_builds ( String :: from ( " " ) , String :: from ( " " ) , String :: from ( " " ) , 1usize . into ( ) , String :: from ( " " ) , ) ; assert_eq ! ( tables2 interning_tables builds len ( ) 1 ) ; assert_eq ! ( tables2 interning_tables strings len ( ) 4 ) ; assert_eq ! ( tables2 interning_tables package_names len ( ) 1 ) ; assert_eq ! ( tables2 interning_tables package_versions len ( ) 1 ) ; assert_eq ! ( tables2 interning_tables crate_names len ( ) 1 ) ; assert_eq ! ( tables2 interning_tables editions len ( ) 1 ) ; let ( root_2_1 , ) = tables2 . register_root_modules ( build_2_1 ) ; assert_eq ! ( tables2 relations root_modules len ( ) 1 ) ; let def_path_2_1 = tables2 . register_def_paths ( String :: from ( " " ) , 1usize . into ( ) , String :: from ( " " ) , ( 1u64 , 2u64 ) . into ( ) , String :: from ( " " ) , ) ; assert_eq ! ( tables2 interning_tables def_paths len ( ) 1 ) ; assert_eq ! ( tables2 interning_tables relative_def_paths len ( ) 1 ) ; assert_eq ! ( tables2 interning_tables summary_keys len ( ) 1 ) ; assert_eq ! ( tables2 interning_tables strings len ( ) 6 ) ; let def_path_2_2 = tables2 . register_def_paths ( String :: from ( " " ) , 1usize . into ( ) , String :: from ( " " ) , ( 3u64 , 4u64 ) . into ( ) , String :: from ( " " ) , ) ; assert_eq ! ( tables2 interning_tables def_paths len ( ) 2 ) ; assert_eq ! ( tables2 interning_tables relative_def_paths len ( ) 2 ) ; assert_eq ! ( tables2 interning_tables summary_keys len ( ) 2 ) ; assert_eq ! ( tables2 interning_tables strings len ( ) 8 ) ; let ( module_2_1 , ) = tables2 . register_submodules ( def_path_2_1 , root_2_1 , String :: from ( " " ) , types :: Visibility :: Public , String :: from ( " " ) , ) ; assert_eq ! ( tables2 relations submodules len ( ) 1 ) ; assert_eq ! ( tables2 interning_tables names len ( ) 1 ) ; assert_eq ! ( tables2 interning_tables abis len ( ) 1 ) ; assert_eq ! ( tables2 interning_tables strings len ( ) 10 ) ; tables2 . register_submodules ( def_path_2_2 , module_2_1 , String :: from ( " " ) , types :: Visibility :: Public , String :: from ( " " ) , ) ; assert_eq ! ( tables2 relations submodules len ( ) 2 ) ; assert_eq ! ( tables2 interning_tables names len ( ) 2 ) ; assert_eq ! ( tables2 interning_tables abis len ( ) 2 ) ; assert_eq ! ( tables2 interning_tables strings len ( ) 12 ) ; tables2 }
Create and populate tables 3.
Create and populate tables 3 .