package org.bds.test;

import org.bds.Config;
import org.bds.util.Gpr;
import org.junit.Before;
import org.junit.Test;

/**
 * Quick test cases when creating a new feature...
 *
 * @author pcingola
 *
 */
public class TestCasesZzz extends TestCasesBase {

	@Before
	public void beforeEachTest() {
		Config.reset();
		Config.get().load();
	}

	@Test
	public void test223_switch_case_return() {
		Gpr.debug("Test");
		runAndCheck("test/z.bds", "res", "1");
	}

}

package org.bds.test;

import org.bds.Config;
import org.bds.util.Gpr;
import org.junit.Before;
import org.junit.Test;

/**
 * Quick test cases when creating a new feature...
 *
 * @author pcingola
 *
 */
public class TestCasesZzz extends TestCasesBase {

	@Before
	public void beforeEachTest() {
		Config.reset();
		Config.get().load();
	}

	@Test
	public void test166_switch_case_return() {
		Gpr.debug("Test");
		runAndCheck("test/run_166.bds", "res", "1");
	}

}

Switch + case + return was leaving values on the vm stack. Fixed
Switch + case + return was leaving values on the vm stack. Fixed
