コード例 #1
0
ファイル: testChannel.py プロジェクト: taebow/PyPPL
 def testNones(self, length, width):
     nones = Channel.nones(length, width)
     self.assertListEqual(nones, [(None, ) * width] * length)
コード例 #2
0
ファイル: test_channel.py プロジェクト: adi0321/PyPPL
def test_nones(length, width):
    assert Channel.nones(length, width) == [(None, ) * width] * length