Test case name | Result |
---|---|
detects an empty string as a palindrome | |
detects a single character as a palindrome | |
detects palindromic word | |
detects non-palindromic word | |
detects palindromic sentence with capitalisation | |
detects palindromic sentence | |
detects non-palindromic sentence |
Test name | Executions per second |
---|---|
detects an empty string as a palindrome | 2182746.0 Ops/sec |
detects a single character as a palindrome | 1858438.0 Ops/sec |
detects palindromic word | 890442.6 Ops/sec |
detects non-palindromic word | 1595143.0 Ops/sec |
detects palindromic sentence with capitalisation | 376856.7 Ops/sec |
detects palindromic sentence | 442971.0 Ops/sec |
detects non-palindromic sentence | 1133257.6 Ops/sec |