1 package jp.sourceforge.stigmata.birthmarks.wsp;
7 import org.junit.Assert;
8 import org.junit.Before;
13 * @author Haruaki Tamada
16 public class CurrentDepthTest{
17 private CurrentDepth depth;
18 private Opcode opcode;
22 opcode = new Opcode(4, "iconst_1", 0, 1, Opcode.Category.NORMAL);
23 depth = new CurrentDepth(3, opcode);
27 public void testBasic(){
28 Assert.assertEquals(3, depth.getDepth());
29 Assert.assertEquals(opcode, depth.getOpcode());