Move History

Rooted by: Pruebas
Fork Selected
  • Strings
    Fundamentals
    Code
      public  class phoneWords{
      
      public static String phoneWords(String str){
        
        return "";
      }
      
      
      
    }
    Test Cases
    import org.junit.jupiter.api.Test;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    // TODO: Replace examples and use TDD by writing your own tests
    
    class SolutionTest {
        @Test
        void testSomething() {
            // assertEquals("expected", "actual");
        }
       
       @Test 
       void isEmpty(){
         	assertEquals("",phoneWords.phoneWords(""));
       }
      
    }
    
  • Code
    • public class phoneWords{
    • public static String phoneWords(){
    • public static String phoneWords(String str){
    • return "";
    • }
    • }
    Test Cases
    • import org.junit.jupiter.api.Test;
    • import static org.junit.jupiter.api.Assertions.assertEquals;
    • // TODO: Replace examples and use TDD by writing your own tests
    • class SolutionTest {
    • @Test
    • void testSomething() {
    • // assertEquals("expected", "actual");
    • }
    • @Test
    • void isEmpty(){
    • assertEquals("",phoneWords.phoneWords(""));
    • }
    • }