Overview | Index | Help

## SMLPPTest0007

`structure SMLPPTest0007 =
struct
structure Assert = SMLUnit.Assert
structure Test = SMLUnit.Test
structure Testee = SMLPP
structure FE = Testee.FormatExpression
structure PP = Testee.PrinterParameter
val prettyPrint
val ind_s
val ind_s1
val ind_s2
val ind_sd
val testGuard0001
val testGuard0002
val testGuard0003
val testGuard0004
val testGuard0005
val suite
end`

  test cases for pretty-printing of expressions included within guards.

  Test cases matrix
  case | description
  --- | ---
  Guard0001 | including twe nested guards, the outer one contains a newline indicator whose priority is higher than a newline indicator in the inner one. Specifies the minimum number of columns which do not require to insert newline at indicator within the inner guard.
  Guard0002 | including two nested guards, the outer one contains a deferred newline indicator and the inner guard contains a preferred newline indicator.
  Guard0003 | including two nested guards whose ranges do not overlap
  Guard0004 | including a guard whose base column is higher than zero.
  Guard0005 | including a guard which is included within a indent region

Value detail

### prettyPrint

`val prettyPrint`

### ind_s

`val ind_s`

### ind_s1

`val ind_s1`

### ind_s2

`val ind_s2`

### ind_sd

`val ind_sd`

### testGuard0001

`val testGuard0001`

### testGuard0002

`val testGuard0002`

### testGuard0003

`val testGuard0003`

### testGuard0004

`val testGuard0004`

### testGuard0005

`val testGuard0005`

### suite

`val suite`

Overview | Index | Help