@Test public void testgetMtLvESS() throws Exception { assertEquals( "?", BTools.getMtLvESS( -5 ) ); assertEquals( "", BTools.getMtLvESS( 0 ) ); assertEquals( "...", BTools.getMtLvESS( 3 ) ); }
public static String getMtLvESS( int mtLv ) { if ( mtLv < 0 ) return "?"; String Result = ""; String LvS = "."; for ( int K = 1; K <= mtLv; K ++ ) { Result = Result + LvS; } return Result; }
BTools { public static String getMtLvESS( int mtLv ) { if ( mtLv < 0 ) return "?"; String Result = ""; String LvS = "."; for ( int K = 1; K <= mtLv; K ++ ) { Result = Result + LvS; } return Result; } }
BTools { public static String getMtLvESS( int mtLv ) { if ( mtLv < 0 ) return "?"; String Result = ""; String LvS = "."; for ( int K = 1; K <= mtLv; K ++ ) { Result = Result + LvS; } return Result; }  }
BTools { public static String getMtLvESS( int mtLv ) { if ( mtLv < 0 ) return "?"; String Result = ""; String LvS = "."; for ( int K = 1; K <= mtLv; K ++ ) { Result = Result + LvS; } return Result; }  static String getMtLvESS( int mtLv ); static String getMtLvISS(); static String getSpaces( int SpacesCount ); static String getSBln( boolean... blnA ); static String getSDbl( double Value, int DecPrec ); static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign ); static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign, int StringLength ); static String getSInt( int Value, int CharsCount ); static String getSInt( int Value, int CharsCount, char LeadingChar ); static String getSInt( int Value ); static String getSIntA( int... intA ); static int getIndexCharsCount( int MaxIndex ); static String getSLcDtTm(); static String getSLcDtTm( String FormatS ); }
BTools { public static String getMtLvESS( int mtLv ) { if ( mtLv < 0 ) return "?"; String Result = ""; String LvS = "."; for ( int K = 1; K <= mtLv; K ++ ) { Result = Result + LvS; } return Result; }  static String getMtLvESS( int mtLv ); static String getMtLvISS(); static String getSpaces( int SpacesCount ); static String getSBln( boolean... blnA ); static String getSDbl( double Value, int DecPrec ); static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign ); static String getSDbl( double Value, int DecPrec, boolean ShowPlusSign, int StringLength ); static String getSInt( int Value, int CharsCount ); static String getSInt( int Value, int CharsCount, char LeadingChar ); static String getSInt( int Value ); static String getSIntA( int... intA ); static int getIndexCharsCount( int MaxIndex ); static String getSLcDtTm(); static String getSLcDtTm( String FormatS );  }