// Path: src/main/java/nodebox/function/StringFunctions.java
// public static List<String> makeStrings(String s, String separator) {
//     if (s == null) {
//         return ImmutableList.of();
//     }
//     if (separator == null || separator.isEmpty()) {
//         return ImmutableList.copyOf(Splitter.fixedLength(1).split(s));
//     }
//     return ImmutableList.copyOf(Splitter.on(separator).split(s));
// }


import org.junit.Test;
import static junit.framework.TestCase.*;
import static nodebox.function.StringFunctions.makeStrings;
import static nodebox.util.Assertions.assertResultsEqual;
package nodebox.function;



public class StringFunctionsTest {

    @Test
    public void testMakeStrings() {
// Path: src/main/java/nodebox/function/StringFunctions.java
// public static List<String> makeStrings(String s, String separator) {
//     if (s == null) {
//         return ImmutableList.of();
//     }
//     if (separator == null || separator.isEmpty()) {
//         return ImmutableList.copyOf(Splitter.fixedLength(1).split(s));
//     }
//     return ImmutableList.copyOf(Splitter.on(separator).split(s));
// }


// Path: src/test/java/nodebox/function/StringFunctionsTest.java
import org.junit.Test;
import static junit.framework.TestCase.*;
import static nodebox.function.StringFunctions.makeStrings;
import static nodebox.util.Assertions.assertResultsEqual;

package nodebox.function;



public class StringFunctionsTest {

    @Test
    public void testMakeStrings() {
        assertResultsEqual(makeStrings("a;b", ";"), "a", "b");