n = B0.f0s();
out.println("... B0.f0s() = " + n);
assert (n == 20);
out.println("\ncalling a.newB0()...");
B0 b0b0 = a.newB0();
out.println("... b0b0 = " + b0b0);
assert (b0b0 != null);
out.println("\ncalling b0b0.f0s()...");
n = b0b0.f0s();
out.println("... b0b0.f0s() = " + n);
assert (n == 20);
out.println("\ncalling B0.f0n(b0b0)...");
n = B0.f0n(b0b0);
out.println("... B0.f0n(b0b0) = " + n);
assert (n == 21);
out.println("\ncalling b0b0.f0v()...");
n = b0b0.f0v();
out.println("... b0b0.f0v() = " + n);
assert (n == 22);
out.println("\ncalling B0.d0sc()...");
n = B0.d0sc();
out.println("... B0.d0sc() = " + n);
assert (n == -20);
out.println("\ncalling b0b0.d0sc()...");
n = b0b0.d0sc();
out.println("... b0b0.d0sc() = " + n);
assert (n == -20);
out.println("\ncalling B0.d0s(B0.d0s() + 1)...");
B0.d0s(B0.d0s() + 1);
out.println("\n... calling B0.d0s()...");
n = B0.d0s();
out.println("... B0.d0s() = " + n);
assert (n == 21);
out.println("\ncalling b0b0.d0s(b0b0.d0s() + 1)...");
b0b0.d0s(b0b0.d0s() + 1);
out.println("\n... calling b0b0.d0s()...");
n = b0b0.d0s();
out.println("... b0b0.d0s() = " + n);
assert (n == 22);
out.println("\ncalling B0.d0c(b0b0)...");
n = B0.d0c(b0b0);
out.println("... B0.d0c(b0b0) = " + n);
assert (n == -21);
out.println("\ncalling B0.d0(b0b0, B0.d0(b0b0) + 1)...");
B0.d0(b0b0, B0.d0(b0b0) + 1);
out.println("\n... calling B0.d0(b0b0)...");
n = B0.d0(b0b0);
out.println("... B0.d0(b0b0) = " + n);
assert (n == 22);
out.println("\ncalling a.del(b0b0)...");
a.del(b0b0);
out.println("\ncalling B1.f0s()...");
n = B1.f0s();
out.println("... B1.f0s() = " + n);
assert (n == 30);
out.println("\ncalling a.newB1()...");
B1 b1b1 = a.newB1();
B0 b0b1 = b1b1;
out.println("... b0b1 = " + b0b1);
assert (b0b1 != null);
out.println("\ncalling b0b1.f0s()...");
n = b0b1.f0s();
out.println("... b0b1.f0s() = " + n);
assert (n == 20);
out.println("\ncalling B0.f0n(b0b1)...");
n = B0.f0n(b0b1);
out.println("... B0.f0n(b0b1) = " + n);
assert (n == 21);
out.println("\ncalling b0b1.f0v()...");
n = b0b1.f0v();
out.println("... b0b1.f0v() = " + n);
assert (n == 32);
out.println("\ncalling B1.d0sc()...");
n = B1.d0sc();