Overview  Index  Help 

SMLPPTest0006


structure SMLPPTest0006 =
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 ind_sd
  val testIndent0001
  val testIndent0002
  val testIndent0003
  val testIndent0004
  val testIndent0005
  val suite
end

test cases for pretty-printing of expressions with indent width indicators.
Test cases matrix
casedescription
Indent0001 including single indent, but not required to insert newline
Indent0002 including single indent and required to insert newline at indicators within the indent region.
Indent0003 including multiple newline indicators within an indent region
Indent0004including nested indent indicator
Indent0005 including indent indicator whose indent width is negative integer

       
Value detail

prettyPrint

val prettyPrint


ind_s1

val ind_s1


ind_s2

val ind_s2


ind_sd

val ind_sd


testIndent0001

val testIndent0001


testIndent0002

val testIndent0002


testIndent0003

val testIndent0003


testIndent0004

val testIndent0004


testIndent0005

val testIndent0005


suite

val suite

 


Overview  Index  Help