Ben iki sayısal dizeleri, bir diziden bir tane ve bir nesne özelliği birini karşılaştırmak için SimpleTest kullanmaya çalışıyorum.
I've printed out the values and they are equal, however, the test always returns false. Can anyone help?
İşte kod:
$this->assertEqual(strval($this->createdforums[$randomforum]),
(strval($forum->getTitle)));
print_r($this->createdforums[$randomforum]);
print_r('<br />');
print_r($forum->getTitle());
Çıktı almak değerler şunlardır:
1250833961 1250833961
Any advice appreciated. Thanks.