tools/android/elf_compression/test/compression_script_test.py
def testMatchVaddrAlignment(self):
    """Tests for MatchVaddrAlignment method of the script."""
    self.assertEqual(compress_section.MatchVaddrAlignment(100, 100, 1024), 100)
    self.assertEqual(compress_section.MatchVaddrAlignment(99, 100, 1024), 100)
    self.assertEqual(compress_section.MatchVaddrAlignment(101, 100, 1024), 1124)
    self.assertEqual(
        compress_section.MatchVaddrAlignment(1024, 2049, 1024), 1025)
Tests for MatchVaddrAlignment method of the script.
Tests for MatchVaddrAlignment method of the script.
Tests for MatchVaddrAlignment method of the script .
def testMatchVaddrAlignment(self):
    self.assertEqual(compress_section.MatchVaddrAlignment(100, 100, 1024), 100)
    self.assertEqual(compress_section.MatchVaddrAlignment(99, 100, 1024), 100)
    self.assertEqual(compress_section.MatchVaddrAlignment(101, 100, 1024), 1124)
    self.assertEqual(
        compress_section.MatchVaddrAlignment(1024, 2049, 1024), 1025)
def testMatchVaddrAlignment ( self ) : self . assertEqual ( compress_section . MatchVaddrAlignment ( 100 , 100 , 1024 ) , 100 ) self . assertEqual ( compress_section . MatchVaddrAlignment ( 99 , 100 , 1024 ) , 100 ) self . assertEqual ( compress_section . MatchVaddrAlignment ( 101 , 100 , 1024 ) , 1124 ) self . assertEqual ( compress_section . MatchVaddrAlignment ( 1024 , 2049 , 1024 ) , 1025 )
Tests for MatchVaddrAlignment method of the script.
Tests for MatchVaddrAlignment method of the script .
"""Tests for MatchVaddrAlignment method of the script."""
self