Closed Riyazul555 closed 4 months ago
Thanks for the approval @ashvardanian Please merge the PR also Thanks
I need to run the tests first, @Riyazul555 ;)
I need to run the tests first, @Riyazul555 ;)
Ya sure Take your time @ashvardanian
Any progress on the tests @ashvardanian ??
@Riyazul555 your tests fail:
StringZilla/swift/Test.swift:63: error: -[StringZillaTests.StringZillaTests testFindLastCharacterNotFromSetWithEmoji] : XCTAssertEqual failed: (" 👋") is not equal to (" ")
Test Case '-[StringZillaTests.StringZillaTests testFindLastCharacterNotFromSetWithEmoji]' failed (0.079 seconds).
I've removed the illformed test, and merged the rest.
Hey @ashvardanian do check this PR.....closes issue #77 In this issue
Two additional test cases have been added: testFindLastCharacterNotFromSetWithEmoji: This test ensures that the findLast function works correctly when the set of characters includes emojis. testFindLastCharacterNotFromSetNoMatch: This test verifies the behavior when there is no character that doesn't belong to the provided set. These tests help ensure that the findLast function works correctly and handles different scenarios effectively.
Thanks