Examples of switchOnInt()


Examples of net.sourceforge.purrpackage.test.branch.Switcheroony.switchOnInt()

public class SwitcheroonyTest {

  @Test
  public void testSwitcheroony() {
    Switcheroony s = new Switcheroony();
    s.switchOnInt( 2 );
    s.switchOnInt( -3 );
  }
 
}
View Full Code Here

Examples of net.sourceforge.purrpackage.test.branch.Switcheroony.switchOnInt()

  @Test
  public void testSwitcheroony() {
    Switcheroony s = new Switcheroony();
    s.switchOnInt( 2 );
    s.switchOnInt( -3 );
  }
 
}
View Full Code Here

Examples of net.sourceforge.purrpackage.test.demo.oldideal.CoveredByTestsInOtherPlaces.switchOnInt()

  public void testSomeOTherStuff() {
    CoveredByTestsInOtherPlaces x = new CoveredByTestsInOtherPlaces();
    x.coveredElsewhere();
    x.halfAndHalfBranch( false );
    for ( int i = 0; i < 10; i+= 2 ) {
      assertNotNull( x.switchOnInt( i ) );
    }
    x.new Brancher( null ).branch( false, true );
    x.new Brancher( null ).branch( false, false );   
  }
 
View Full Code Here

Examples of net.sourceforge.purrpackage.test.demo.typical.PartiallyCovered.switchOnInt()

  @Test
  public void testHere() {
    PartiallyCovered pc = new PartiallyCovered();
    pc.coveredElsewhere();
    pc.halfAndHalfBranch( false );
    pc.switchOnInt( 2 );
    pc.switchOnInt( 5 );
  }

 
}
View Full Code Here

Examples of net.sourceforge.purrpackage.test.demo.typical.PartiallyCovered.switchOnInt()

  public void testHere() {
    PartiallyCovered pc = new PartiallyCovered();
    pc.coveredElsewhere();
    pc.halfAndHalfBranch( false );
    pc.switchOnInt( 2 );
    pc.switchOnInt( 5 );
  }

 
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.