Overview  Index  Help 

SMLPPTest0003


structure SMLPPTest0003 =
struct
  structure Assert = SMLUnit.Assert
  structure Test = SMLUnit.Test
  structure Testee = SMLPP
  structure FE = Testee.FormatExpression
  structure PP = Testee.PrinterParameter
  val prettyPrint
  val ind_1
  val ind_2
  val TESTNEWLINEINDICATOR_EXPRESSION
  val testNewlineIndicator0001
  val testNewlineIndicator0002
  val testNewlineIndicator0003
  val testNewlineIndicator0004
  val suite
end

test cases for pretty-printing of newline indicators.

These cases pretty-print expressions which contain newline indicators.

Test cases matrix
casedescription
NewlineIndicator0001 specifies the minimum number of columns which does not require to insert newline at any of indicators.
NewlineIndicator0002 specifies the maximum number of columns which requires to insert newline at the highest of indicators
NewlineIndicator0003 specifies the minimum number of columns which causes to insert newline at the highest of indicators
NewlineIndicator0004 specifies the maximum number of columns which causes to insert newline at all of indicators

       
Value detail

prettyPrint

val prettyPrint


ind_1

val ind_1


ind_2

val ind_2


TESTNEWLINEINDICATOR_EXPRESSION

val TESTNEWLINEINDICATOR_EXPRESSION


testNewlineIndicator0001

val testNewlineIndicator0001


testNewlineIndicator0002

val testNewlineIndicator0002


testNewlineIndicator0003

val testNewlineIndicator0003


testNewlineIndicator0004

val testNewlineIndicator0004


suite

val suite

 


Overview  Index  Help