import static kilim.Constants.*;
public class TestValue extends TestCase {
public void testSameSiteMerge() {
Value v = Value.make(10, D_STRING);
v = v.merge(Value.make(20, D_OBJECT));
Value oldV = v;
for (int i = 0; i < 10; i++) {
v = v.merge(Value.make(10, D_STRING));
}
assertSame(oldV, v);