@@ -173,14 +173,14 @@ if (.runThisTest) {
173173
174174 test.IntegerMatrix.accessor.with.bounds.checking <- function () {
175175 m <- matrix (seq(1L , 12 , by = 1L ), nrow = 4L , ncol = 3L )
176- checkEquals(access_with_bounds_checking (m , 0 , 0 ), 1 )
177- checkEquals(access_with_bounds_checking (m , 1 , 2 ), 10 )
178- checkEquals(access_with_bounds_checking (m , 3 , 2 ), 12 )
179- checkException(access_with_bounds_checking (m , 4 , 2 ) , msg = " index out of bounds not detected" )
180- checkException(access_with_bounds_checking (m , 3 , 3 ) , msg = " index out of bounds not detected" )
181- checkException(access_with_bounds_checking (m , 3 , - 1 ) , msg = " index out of bounds not detected" )
182- checkException(access_with_bounds_checking (m , - 1 , 2 ) , msg = " index out of bounds not detected" )
183- checkException(access_with_bounds_checking (m , - 1 , - 1 ) , msg = " index out of bounds not detected" )
176+ checkEquals(mat_access_with_bounds_checking (m , 0 , 0 ), 1 )
177+ checkEquals(mat_access_with_bounds_checking (m , 1 , 2 ), 10 )
178+ checkEquals(mat_access_with_bounds_checking (m , 3 , 2 ), 12 )
179+ checkException(mat_access_with_bounds_checking (m , 4 , 2 ) , msg = " index out of bounds not detected" )
180+ checkException(mat_access_with_bounds_checking (m , 3 , 3 ) , msg = " index out of bounds not detected" )
181+ checkException(mat_access_with_bounds_checking (m , 3 , - 1 ) , msg = " index out of bounds not detected" )
182+ checkException(mat_access_with_bounds_checking (m , - 1 , 2 ) , msg = " index out of bounds not detected" )
183+ checkException(mat_access_with_bounds_checking (m , - 1 , - 1 ) , msg = " index out of bounds not detected" )
184184 }
185185
186186}
0 commit comments