Overview  Index  Help 

SMLPPTest0004


structure SMLPPTest0004 =
struct
  structure Assert = SMLUnit.Assert
  structure Test = SMLUnit.Test
  structure Testee = SMLPP
  structure FE = Testee.FormatExpression
  structure PP = Testee.PrinterParameter
  val prettyPrint
  val ind_s1
  val ind_s2
  val TESTSPACENEWLINEINDICATOR_EXPRESSION
  val testSpaceNewlineIndicator0001
  val testSpaceNewlineIndicator0002
  val testSpaceNewlineIndicator0003
  val testSpaceNewlineIndicator0004
  val suite
end

test cases for pretty-printing of space-newline indicators.

These cases pretty-print expressions which contain indicators which indicate both space and newline.

Test cases matrix
casedescription
SpaceNewlineIndicator0001 specifies the minimum number of columns which does not require to insert newline at any of indicators.
SpaceNewlineIndicator0002 specifies the maximum number of columns which requires to insert newline at the highest of indicators
SpaceNewlineIndicator0003 specifies the minimum number of columns which causes to insert newline at the highest of indicators
SpaceNewlineIndicator0004 specifies the maximum number of columns which causes to insert newline at all of indicators

       
Value detail

prettyPrint

val prettyPrint


ind_s1

val ind_s1


ind_s2

val ind_s2


TESTSPACENEWLINEINDICATOR_EXPRESSION

val TESTSPACENEWLINEINDICATOR_EXPRESSION


testSpaceNewlineIndicator0001

val testSpaceNewlineIndicator0001


testSpaceNewlineIndicator0002

val testSpaceNewlineIndicator0002


testSpaceNewlineIndicator0003

val testSpaceNewlineIndicator0003


testSpaceNewlineIndicator0004

val testSpaceNewlineIndicator0004


suite

val suite

 


Overview  Index  Help