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