@@ -692,85 +692,7 @@ def test_problem_1378(input_data_1, input_data_2, expected_data):
692692
693693@pytest .mark .parametrize (
694694 "input_data, expected_data" ,
695- [
696- pytest .param (
697- {
698- "user_id" : [1 , 2 , 3 , 4 , 5 , 6 , 7 ],
699- "name" : [
700- "Winston" ,
701- "Jonathan" ,
702- "Annabelle" ,
703- "Sally" ,
704- "Marwan" ,
705- "David" ,
706- "Shapiro" ,
707- ],
708- "mail" : [
709- "winston@leetcode.com" ,
710- "jonathanisgreat" ,
711- "bella-@leetcode.com" ,
712- "sally.come@leetcode.com" ,
713- "quarz#2020@leetcode.com" ,
714- "david69@gmail.com" ,
715- ".shapo@leetcode.com" ,
716- ],
717- },
718- {
719- "user_id" : [1 , 3 , 4 ],
720- "name" : [
721- "Winston" ,
722- "Annabelle" ,
723- "Sally" ,
724- ],
725- "mail" : [
726- "winston@leetcode.com" ,
727- "bella-@leetcode.com" ,
728- "sally.come@leetcode.com" ,
729- ],
730- },
731- id = "happy_path" ,
732- ),
733- pytest .param (
734- {
735- "user_id" : [360 , 966 , 901 , 162 , 181 , 240 , 221 , 388 , 211 , 178 ],
736- "name" : [
737- "Ezra" ,
738- "Daniel" ,
739- "Yehudah" ,
740- "Daniel" ,
741- "Aharon" ,
742- "Gavriel" ,
743- "Levi" ,
744- "Eliyahu" ,
745- "Michael" ,
746- "Aharon" ,
747- ],
748- "mail" : [
749- "Ezra4VZabfK" ,
750- "DanielEnEMjNoG6" ,
751- "Yehudah*5m9@leetcode.com" ,
752- "Daniel07L@leetcode.com" ,
753- "AharonxuZA530S8Q" ,
754- "GavrielLVC@leetcode.com" ,
755- "Leviz6OzK@leetcode.com" ,
756- "Eliyahu--wzsgX@leetcode.com" ,
757- ".Michael@leetcode.com" ,
758- "AharonnDFFSqcY" ,
759- ],
760- },
761- {
762- "user_id" : [162 , 240 , 221 , 388 ],
763- "name" : ["Daniel" , "Gavriel" , "Levi" , "Eliyahu" ],
764- "mail" : [
765- "Daniel07L@leetcode.com" ,
766- "GavrielLVC@leetcode.com" ,
767- "Leviz6OzK@leetcode.com" ,
768- "Eliyahu--wzsgX@leetcode.com" ,
769- ],
770- },
771- id = "happy_path_2" ,
772- ),
773- ],
695+ PARAMS_PROBLEM_1517 ,
774696)
775697def test_problem_1517 (input_data , expected_data ):
776698 table = pa .Table .from_pydict (input_data )
0 commit comments