@@ -1263,38 +1263,29 @@ TEST_F(InputTest, Item_test2)
12631263 output = testing::internal::GetCapturedStdout ();
12641264 EXPECT_THAT (output, testing::HasSubstr (" NOTICE" ));
12651265 }
1266- { // exx_hybrid_alpha
1267- auto it = find_label (" exx_hybrid_alpha " , readinput.input_lists );
1268- param.input .exx_hybrid_alpha = " default" ;
1266+ { // exx_fock_alpha
1267+ auto it = find_label (" exx_fock_alpha " , readinput.input_lists );
1268+ param.input .exx_fock_alpha [ 0 ] = " default" ;
12691269 param.input .dft_functional = " HF" ;
12701270 it->second .reset_value (it->second , param);
1271- EXPECT_EQ (param.input .exx_hybrid_alpha , " 1" );
1271+ EXPECT_EQ (param.input .exx_fock_alpha [ 0 ] , " 1" );
12721272
1273- param.input .exx_hybrid_alpha = " default" ;
1273+ param.input .exx_fock_alpha [ 0 ] = " default" ;
12741274 param.input .dft_functional = " PBE0" ;
12751275 it->second .reset_value (it->second , param);
1276- EXPECT_EQ (param.input .exx_hybrid_alpha , " 0.25" );
1276+ EXPECT_EQ (param.input .exx_fock_alpha [ 0 ] , " 0.25" );
12771277
1278- param.input .exx_hybrid_alpha = " default" ;
1278+ param.input .exx_fock_alpha [ 0 ] = " default" ;
12791279 param.input .dft_functional = " SCAN0" ;
12801280 it->second .reset_value (it->second , param);
1281- EXPECT_EQ (param.input .exx_hybrid_alpha , " 0.25" );
1282-
1283- param.input .exx_hybrid_alpha = " default" ;
1281+ EXPECT_EQ (param.input .exx_fock_alpha [0 ], " 0.25" );
1282+ }
1283+ { // exx_erfc_alpha
1284+ auto it = find_label (" exx_erfc_alpha" , readinput.input_lists );
1285+ param.input .exx_erfc_alpha [0 ] = " default" ;
12841286 param.input .dft_functional = " HSE" ;
12851287 it->second .reset_value (it->second , param);
1286- EXPECT_EQ (param.input .exx_hybrid_alpha , " 0.25" );
1287-
1288- param.input .exx_hybrid_alpha = " default" ;
1289- param.input .dft_functional = " none" ;
1290- it->second .reset_value (it->second , param);
1291- EXPECT_EQ (param.input .exx_hybrid_alpha , " 0" );
1292-
1293- param.input .exx_hybrid_alpha = " -1" ;
1294- testing::internal::CaptureStdout ();
1295- EXPECT_EXIT (it->second .check_value (it->second , param), ::testing::ExitedWithCode (1 ), " " );
1296- output = testing::internal::GetCapturedStdout ();
1297- EXPECT_THAT (output, testing::HasSubstr (" NOTICE" ));
1288+ EXPECT_EQ (param.input .exx_erfc_alpha [0 ], " 0.25" );
12981289 }
12991290 { // exx_hybrid_step
13001291 auto it = find_label (" exx_hybrid_step" , readinput.input_lists );
@@ -1349,14 +1340,6 @@ TEST_F(InputTest, Item_test2)
13491340 output = testing::internal::GetCapturedStdout ();
13501341 EXPECT_THAT (output, testing::HasSubstr (" NOTICE" ));
13511342 }
1352- { // exx_distribute_type
1353- auto it = find_label (" exx_distribute_type" , readinput.input_lists );
1354- param.input .exx_distribute_type = " none" ;
1355- testing::internal::CaptureStdout ();
1356- EXPECT_EXIT (it->second .check_value (it->second , param), ::testing::ExitedWithCode (1 ), " " );
1357- output = testing::internal::GetCapturedStdout ();
1358- EXPECT_THAT (output, testing::HasSubstr (" NOTICE" ));
1359- }
13601343 { // exx_opt_orb_lmax
13611344 auto it = find_label (" exx_opt_orb_lmax" , readinput.input_lists );
13621345 param.input .exx_opt_orb_lmax = -1 ;
0 commit comments