Example #1
0
 def test_add(self):
     php = PHP()
     array = php.range(1, self.TEST_RANGE)
     php.echo(php.count(array) + self.TEST_VALUE)
     self.assertEquals(str(php), str(self.TEST_VALUE + self.TEST_RANGE))
Example #2
0
	def test_add(self):
		php = PHP()
		array = php.range(1, self.TEST_RANGE)
		php.echo(php.count(array) + self.TEST_VALUE)
		self.assertEquals(str(php), str(self.TEST_VALUE + self.TEST_RANGE))
Example #3
0
 def test_list(self):
     php = PHP()
     php.echo(php.count(range(self.TEST_RANGE)))
     output = str(php)
     self.assertEquals(output, str(self.TEST_RANGE))
Example #4
0
	def test_list(self):
		php = PHP()
		php.echo(php.count(range(self.TEST_RANGE)))
		output = str(php)
		self.assertEquals(output, str(self.TEST_RANGE))