Open zxul767 opened 1 year ago
it would be very useful to have an assert function in the standard library, which can serve as a poor man's testing facility (e.g., see pytest):
assert
pytest
assert("hello".starts_with("hell"), "starts_with failed!") assert("hello".ends_with("llo"), "ends_with failed!")
it would be very useful to have an
assert
function in the standard library, which can serve as a poor man's testing facility (e.g., seepytest
):