Skip to content

assert_true

Assert that a resulting flag from a previous calculation is true. For example:

foo := dft(
  structure( formula = He )
  ao = 'STO-3G'
  xc = PBE
)
assert_true( load = foo variable = converged )
This command can appear in the global context.

Options

load

Name of result set to load the variable from.

  • The type is string
  • There is no default value.
name

Name of result set to take the variable from.

This option is deprecated.

  • The type is string
  • The default is previous
variable

Name of variable to be tested.

This option is mandatory.

  • The type is string
  • There is no default value.