#NEWLINE# def test_outline( ) : #NEWLINE# #INDENT# type = 'BOARD_EDGE' #NEWLINE# points = [ ( 0.01 , 0.01 ) , ( 2.0 , 2.0 ) , ( 4.0 , 2.0 ) , ( 4.0 , 6.0 ) ] #NEWLINE# b = IPC356_Outline ( type , points ) #NEWLINE# assert_equal ( b . type , type ) #NEWLINE# assert_equal ( b . points , points ) #NEWLINE# b = IPC356_Outline . from_line ( '389BOARD_EDGE         X100Y100 X20000Y20000 X40000 Y60000' , FileSettings ( units = 'inch' ) ) #NEWLINE# assert_equal ( b . type , 'BOARD_EDGE' ) #NEWLINE# assert_equal ( b . points , points )