johnlemon
johnlemon

Reputation: 21499

PHP simpletest assertion

What is the equivalent of assertLessThan in simpletest?

Upvotes: 0

Views: 160

Answers (2)

Dominic Rodger
Dominic Rodger

Reputation: 99811

You could just use assertTrue:

assertTrue($x < $y);

Upvotes: 2

Trevor
Trevor

Reputation: 6689

assertTrue($x < 100);

Upvotes: 4

Related Questions