tools/android/elf_compression/test/compression_script_test.py
def testAlignDown(self):
    """Tests for AlignDown method of the script."""
    self.assertEqual(compress_section.AlignDown(1024, 1024), 1024)
    self.assertEqual(compress_section.AlignDown(1023, 1024), 0)
    self.assertEqual(compress_section.AlignDown(1025, 1024), 1024)
    self.assertEqual(compress_section.AlignDown(5555, 4096), 4096)
Tests for AlignDown method of the script.
Tests for AlignDown method of the script.
Tests for AlignDown method of the script .
def testAlignDown(self):
    self.assertEqual(compress_section.AlignDown(1024, 1024), 1024)
    self.assertEqual(compress_section.AlignDown(1023, 1024), 0)
    self.assertEqual(compress_section.AlignDown(1025, 1024), 1024)
    self.assertEqual(compress_section.AlignDown(5555, 4096), 4096)
def testAlignDown ( self ) : self . assertEqual ( compress_section . AlignDown ( 1024 , 1024 ) , 1024 ) self . assertEqual ( compress_section . AlignDown ( 1023 , 1024 ) , 0 ) self . assertEqual ( compress_section . AlignDown ( 1025 , 1024 ) , 1024 ) self . assertEqual ( compress_section . AlignDown ( 5555 , 4096 ) , 4096 )
Tests for AlignDown method of the script.
Tests for AlignDown method of the script .
"""Tests for AlignDown method of the script."""
self