transferred Code Ocean from original repository to GitHub
This commit is contained in:
0
db/seeds/tdd/exercise.rb
Normal file
0
db/seeds/tdd/exercise.rb
Normal file
5
db/seeds/tdd/exercise_spec.rb
Normal file
5
db/seeds/tdd/exercise_spec.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
describe 'Exercise' do
|
||||
it 'includes a successful example' do
|
||||
expect(true).to be true
|
||||
end
|
||||
end
|
11
db/seeds/tdd/instructions.md
Normal file
11
db/seeds/tdd/instructions.md
Normal file
@@ -0,0 +1,11 @@
|
||||
Write a method `palindrome?` that outputs whether a given input is a palindromic word.
|
||||
|
||||
Write tests to verify that your method works correctly for normal words, empty inputs, and malformed inputs.
|
||||
|
||||
#### Expected Behavior:
|
||||
|
||||
`palindrome?('noon') => true`
|
||||
|
||||
`palindrome?('hello') => false`
|
||||
|
||||
`palindrome?(42) => false`
|
Reference in New Issue
Block a user