# NOT RUN {
SA_bulk <- c( 34.7118, 34.8915, 35.0256, 34.8472, 34.7366, 34.7324)
h_bulk <- c( -4.5544e4, -4.6033e4, -4.5830e4, -4.5589e4, -4.4948e4, -4.4027e4)
p <- c( 10, 50, 125, 250, 600, 1000)
r <- gsw_frazil_properties(SA_bulk, h_bulk, p)
expect_equal(r$SA_final, c(39.111030663000442, 39.407625769681573, 39.595789974885108,
39.481230045372889, 39.591177095552503, 39.826467709177123))
expect_equal(r$CT_final, c(-2.156311126114311, -2.204672298963783, -2.273689262333450,
-2.363714136353600, -2.644541000680772, -2.977651291726651))
expect_equal(r$w_Ih_final, c(0.112480560814322, 0.114600300867556, 0.115421108602301,
0.117372990660305, 0.122617649983886, 0.127906590822347))
# }
Run the code above in your browser using DataLab