adding a test case
[IRC.git] / Robust / src / Tests / innerBigEgg2.java
1 public class innerBigEgg2 extends innerEgg2 {
2   public class Yolk extends innerEgg2.Yolk {
3     public Yolk() { 
4                 //(new Egg2()).
5                 super();
6                 System.out.println("innerBigEgg2.Yolk() getValue() = " + getValue() + " value = "+value); 
7         }
8     public void f() {
9       System.out.println("innerBigEgg2.Yolk.f()");
10     }
11   }
12   public int value = 2;
13   public int getValue(){ return value;}
14   public innerBigEgg2() { super(); super.value = 1; insertYolk(new Yolk()); }
15   public static void main(String[] args) {
16     innerEgg2 e2 = new innerBigEgg2();
17     e2.g();
18   }
19 }
20