typst-0.1.0.0: test/typ/compiler/array-14.typ
// Test the `insert` and `remove` methods.
#{
let array = (0, 1, 2, 4, 5)
array.insert(3, 3)
test(array, range(6))
array.remove(1)
test(array, (0, 2, 3, 4, 5))
}
// Test the `insert` and `remove` methods.
#{
let array = (0, 1, 2, 4, 5)
array.insert(3, 3)
test(array, range(6))
array.remove(1)
test(array, (0, 2, 3, 4, 5))
}