コード例 #1
0
ファイル: test_perceptops.py プロジェクト: longears/rigor
 def test_imageops_fetch():
     ops = ImageOps(kConfig)
     percept = Percept()
     percept.locator = constants.kExampleImageFile
     result = ops.fetch(percept)
     assert result.shape == constants.kExampleImageDimensions
コード例 #2
0
	def test_imageops_fetch():
		ops = ImageOps(kConfig)
		percept = Percept()
		percept.locator = constants.kExampleImageFile
		result = ops.fetch(percept)
		assert result.shape == constants.kExampleImageDimensions