METHOD_0 ( ) { org . nd4j . linalg . io . IDENT_0 IDENT_1 = new org . nd4j . linalg . io . METHOD_1 ( STRING_0 ) ; org . nd4j . linalg . io . METHOD_1 IDENT_2 = new org . nd4j . linalg . io . METHOD_1 ( STRING_1 ) ; org . IDENT_3 . api . records . reader . IDENT_4 IDENT_5 = new org . IDENT_3 . api . records . reader . impl . IDENT_6 . METHOD_2 ( ) ; IDENT_5 . METHOD_3 ( new org . IDENT_3 . api . split . METHOD_4 ( IDENT_1 . METHOD_5 ( ) ) ) ; org . IDENT_3 . api . records . reader . IDENT_4 IDENT_7 = new org . IDENT_3 . api . records . reader . impl . IDENT_6 . METHOD_2 ( ) ; IDENT_7 . METHOD_3 ( new org . IDENT_3 . api . split . METHOD_4 ( IDENT_2 . METHOD_5 ( ) ) ) ; org . IDENT_8 . IDENT_9 . IDENT_3 . IDENT_10 IDENT_11 = new org . IDENT_8 . IDENT_9 . IDENT_3 . IDENT_10 . Builder ( 1 ) . METHOD_6 ( STRING_2 , IDENT_5 ) . METHOD_6 ( STRING_3 , IDENT_7 ) . METHOD_7 ( STRING_2 , 1 , 2 ) . METHOD_8 ( STRING_3 , 1 , 2 ) . build ( ) ; org . IDENT_8 . IDENT_9 . IDENT_3 . IDENT_10 IDENT_12 = new org . IDENT_8 . IDENT_9 . IDENT_3 . IDENT_10 . Builder ( 1 ) . METHOD_6 ( STRING_2 , new org . IDENT_8 . spark . IDENT_3 . iterator . METHOD_9 ( 0 ) ) . METHOD_6 ( STRING_3 , new org . IDENT_8 . spark . IDENT_3 . iterator . METHOD_9 ( 1 ) ) . METHOD_7 ( STRING_2 , 1 , 2 ) . METHOD_8 ( STRING_3 , 1 , 2 ) . build ( ) ; org . IDENT_8 . spark . IDENT_3 . iterator . List < org . nd4j . linalg . dataset . api . IDENT_13 > expected = new org . IDENT_8 . spark . IDENT_3 . iterator . ArrayList ( 3 ) ; while ( IDENT_11 . hasNext ( ) ) { expected . add ( IDENT_11 . next ( ) ) ; } org . apache . spark . api . java . IDENT_14 < org . IDENT_8 . spark . IDENT_3 . iterator . List < org . IDENT_3 . api . IDENT_15 . IDENT_16 > > IDENT_17 = IDENT_18 . METHOD_10 ( IDENT_1 . METHOD_5 ( ) . getPath ( ) ) . METHOD_11 ( 1 ) . map ( new org . IDENT_3 . spark . transform . IDENT_19 . METHOD_12 ( new org . IDENT_3 . api . records . reader . impl . IDENT_6 . METHOD_2 ( ) ) ) ; org . apache . spark . api . java . IDENT_14 < org . IDENT_8 . spark . IDENT_3 . iterator . List < org . IDENT_3 . api . IDENT_15 . IDENT_16 > > IDENT_20 = IDENT_18 . METHOD_10 ( IDENT_2 . METHOD_5 ( ) . getPath ( ) ) . METHOD_11 ( 1 ) . map ( new org . IDENT_3 . spark . transform . IDENT_19 . METHOD_12 ( new org . IDENT_3 . api . records . reader . impl . IDENT_6 . METHOD_2 ( ) ) ) ; org . IDENT_8 . spark . IDENT_3 . iterator . List < org . apache . spark . api . java . IDENT_14 < org . IDENT_8 . spark . IDENT_3 . iterator . List < org . IDENT_3 . api . IDENT_15 . IDENT_16 > > > list = org . IDENT_8 . spark . IDENT_3 . iterator . Arrays . asList ( IDENT_17 , IDENT_20 ) ; org . apache . spark . api . java . IDENT_14 < org . nd4j . linalg . dataset . api . IDENT_13 > IDENT_21 = org . IDENT_8 . spark . IDENT_3 . iterator . IDENT_22 . METHOD_13 ( list , null , new int [ ] { 0 , 0 } , null , false , IDENT_12 ) ; org . IDENT_8 . spark . IDENT_3 . iterator . List < org . nd4j . linalg . dataset . api . IDENT_13 > IDENT_23 = IDENT_21 . collect ( ) ; expected = new org . IDENT_8 . spark . IDENT_3 . iterator . ArrayList ( expected ) ; IDENT_23 = new org . IDENT_8 . spark . IDENT_3 . iterator . ArrayList ( IDENT_23 ) ; org . IDENT_8 . spark . IDENT_3 . iterator . IDENT_24 < org . nd4j . linalg . dataset . api . IDENT_13 > IDENT_25 = new org . IDENT_8 . spark . IDENT_3 . iterator . IDENT_24 < org . nd4j . linalg . dataset . api . IDENT_13 > ( ) { @ org . IDENT_8 . spark . IDENT_3 . iterator . Override public int compare ( org . nd4j . linalg . dataset . api . IDENT_13 IDENT_26 , org . nd4j . linalg . dataset . api . IDENT_13 IDENT_27 ) { return java . lang . Double . compare ( IDENT_26 . METHOD_14 ( 0 ) . METHOD_15 ( 0 ) , IDENT_27 . METHOD_14 ( 0 ) . METHOD_15 ( 0 ) ) ; } } ; org . IDENT_8 . spark . IDENT_3 . iterator . Collections . METHOD_16 ( expected , IDENT_25 ) ; org . IDENT_8 . spark . IDENT_3 . iterator . Collections . METHOD_16 ( IDENT_23 , IDENT_25 ) ; "<AssertPlaceHolder>" ; } METHOD_16 ( org . nd4j . linalg . factory . INDArray , boolean ) { return org . nd4j . linalg . factory . Nd4j . METHOD_17 ( ) . METHOD_16 ( ndarray , ( ! IDENT_28 ) ) ; }
org . junit . Assert . assertEquals ( expected , IDENT_23 )