}
@Test
public void bagSplitWithBagNumTest() throws Exception
{
PigTest test = createPigTest("datafu/bags/bagSplitWithBagNumTest.pig",
"MAX=10");
writeLinesToFile("input",
"{(1,11),(2,22),(3,33),(4,44),(5,55),(6,66),(7,77),(8,88),(9,99),(10,1010),(11,1111),(12,1212)}");
test.runScript();
assertOutput(test, "data3",
"({(1,11),(2,22),(3,33),(4,44),(5,55),(6,66),(7,77),(8,88),(9,99),(10,1010)},0)",
"({(11,1111),(12,1212)},1)");
}