Overview | Index | Help

## SMLPPTest0005

`structure SMLPPTest0005 =
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 testDeferredIndicator0001
val testDeferredIndicator0002
val testDeferredIndicator0003
val testDeferredIndicator0004
val suite
end`

  test cases for pretty-printing of deferred newline indicators.

  These cases pretty-print expressions which contain deferred newline indicators.

  Test cases matrix
  case | description
  --- | ---
  DeferredIndicator0001 | specifies the minimum number of columns which do not require to insert newline at deferred indicators
  DeferredIndicator0002 | specifies the minimum number of columns which requires to insert newline at deferred indicators
  DeferredIndicator0003 | including deferred newline indicator and requiring to insert newline at it, which causes to insert newline at the preferred indicator where would be not required to insert newline if the deffered indicator is not included.
  DeferredIndicator0004 | including deferred multiple newline indicators and requiring to insert at one of them but not required at the other.

Value detail

### prettyPrint

`val prettyPrint`

### ind_s1

`val ind_s1`

### ind_s2

`val ind_s2`

### ind_sd

`val ind_sd`

### testDeferredIndicator0001

`val testDeferredIndicator0001`

### testDeferredIndicator0002

`val testDeferredIndicator0002`

### testDeferredIndicator0003

`val testDeferredIndicator0003`

### testDeferredIndicator0004

`val testDeferredIndicator0004`

### suite

`val suite`

Overview | Index | Help