Frame g = new Frame(4, 4);
g.setLocal(0, Value.make(0, D_INT));
g.setLocal(1, Value.make(0, D_DOUBLE));
g.setLocal(3, Value.make(0, D_THROWABLE));
Usage noUsage = new Usage(4); // default, everything is untouched.
assertSame(f, f.merge(g, /* localsOnly= */true, noUsage));
for (int i = 0; i < 4; i++) {
noUsage.write(i); // set everything to OVERWRITTEN
}
assertSame(f, f.merge(g, /* localsOnly= */true, noUsage));
}