#NEWLINE# def test_serializationOfMutableVectors( self ) : #NEWLINE# #INDENT# mutVecPair = FORA . eval ( 'let x = MutableVector(Float64).create(10, 0.0); (x,x)' , keepAsForaValue = True ) #NEWLINE# mutVecPairSer = FORA . extractImplValContainer ( mutVecPair ) . serializeEntireObjectGraph ( ) #NEWLINE# mutVecPair2 = ivc ( ) #NEWLINE# mutVecPair2 . deserializeEntireObjectGraph ( mutVecPair ) #NEWLINE# mutVecPair2 = FORA . ForaValue . FORAValue ( mutVecPair2 ) #NEWLINE# self . assertTrue ( FORA . eval ( 'fun((x,y)) { x[0] = 1.0;  y[0] is 1.0 }' ) ( mutVecPair2 ) ) #NEWLINE# self . assertTrue ( FORA . eval ( 'fun((x,y)) { x is y }' ) ( mutVecPair2 ) )