Twofer1 Twofer - 스트링 리턴하기 Twofer - 스트링 리턴하기 TestCode1234567891011121314151617181920212223class TwoferTest { @Test fun noNameGiven() { assertEquals("One for you, one for me.", twofer()) } @Test fun aNameGiven() { assertEquals("One for Alice, one for me.", twofer("Alice")) } @Test fun anotherNameGiven() { assertEquals("One for Bob, one for me.", twofer("Bob")) } @Test fun emptyStringGiven() { assertEquals("One for , one fo.. 2019. 3. 3. 이전 1 다음