Test Cases & Chat
Part 1
current
Test 1
input:insert(0,"hello"), getText()→"hello", insert(5," world"), getText()→"hello world", delete(5,1), getText()→"helloworld"
expect:["hello","hello world","helloworld"]
Test 2
input:Clipping: insert beyond end appends; delete beyond end does nothing
expect:["hi","hi!","hi!"]
Part 2
locked
Part 3
locked
Part 4
locked
Resume a session
Loading sessions...
or start fresh
Choose your coach
Pick a style and how you want to communicate
then
Loading...
OUTPUT
Run code to see output...
Part 1
current
Test 1
input:insert(0,"hello"), getText()→"hello", insert(5," world"), getText()→"hello world", delete(5,1), getText()→"helloworld"
expect:["hello","hello world","helloworld"]
Test 2
input:Clipping: insert beyond end appends; delete beyond end does nothing
expect:["hi","hi!","hi!"]
Part 2
locked
Part 3
locked
Part 4
locked
Resume a session
Loading sessions...
or start fresh
Choose your coach
Pick a style and how you want to communicate
then