Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stdlib] Vectorize ASCII helper functions #3859

Open
wants to merge 8 commits into
base: nightly
Choose a base branch
from
Prev Previous commit
fix after merge
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
  • Loading branch information
martinvuyk committed Jan 2, 2025
commit 50ce7dbad9007b57ecf46351b6882f0e5b2d6b13
2 changes: 0 additions & 2 deletions stdlib/test/collections/string/test_string.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -955,15 +955,13 @@ def test_is_ascii_space():
# checking true cases
assert_true(_is_ascii_space(ord(" ")))
assert_true(_is_ascii_space(ord("\n")))
assert_true(_is_ascii_space("\n"))
assert_true(_is_ascii_space(ord("\t")))
assert_true(_is_ascii_space(ord("\r")))
assert_true(_is_ascii_space(ord("\v")))
assert_true(_is_ascii_space(ord("\f")))

# Checking false cases
assert_false(_is_ascii_space(ord("a")))
assert_false(_is_ascii_space("a"))
assert_false(_is_ascii_space(ord("u")))
assert_false(_is_ascii_space(ord("s")))
assert_false(_is_ascii_space(ord("t")))
Expand Down
Loading