Previous Page
apiVersion()

Solar_Test
assertEquals()

Next Page
assertFalse()

assertEquals()

public bool assertEquals ( mixed $actual, mixed $expect )

Asserts that two variables are equal; type is not strict.

Parameters

  • (mixed) $actual: The variable to test.
  • (mixed) $expect: The expected value.

Returns

  • (bool) The assertion result.

Description

Asserts that two variables are equal; type is not strict.