1function test171 2%TEST171 test conversion 3 4% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 5% SPDX-License-Identifier: Apache-2.0 6 7rng ('default') ; 8 9fprintf ('test171:\n') ; 10 11for n = [ 1000 1025 2000 ] 12 13 A.matrix = rand (n) ; 14 A.sparsity = 4 ; 15 C = GB_mex_dump (A, 1) ; 16 17 A.matrix = sparse (rand (n)) ; 18 A.sparsity = 4 ; 19 C = GB_mex_dump (A, 1) ; 20end 21 22fprintf ('test171: all tests passed\n') ; 23 24