Home
last modified time | relevance | path

Searched refs:compileDeltaValues (Results 1 – 1 of 1) sorted by relevance

/external/fonttools/Tests/ttLib/tables/
DTupleVariation_test.py476 compileDeltaValues = lambda values: hexencode(TupleVariation.compileDeltaValues_(values)) function
478 self.assertEqual("80", compileDeltaValues([0]))
479 self.assertEqual("BF", compileDeltaValues([0] * 64))
480 self.assertEqual("BF 80", compileDeltaValues([0] * 65))
481 self.assertEqual("BF A3", compileDeltaValues([0] * 100))
482 self.assertEqual("BF BF BF BF", compileDeltaValues([0] * 256))
484 self.assertEqual("00 01", compileDeltaValues([1]))
485 self.assertEqual("06 01 02 03 7F 80 FF FE", compileDeltaValues([1, 2, 3, 127, -128, -1, -2]))
486 self.assertEqual("3F" + (64 * " 7F"), compileDeltaValues([127] * 64))
487 self.assertEqual("3F" + (64 * " 7F") + " 00 7F", compileDeltaValues([127] * 65))
[all …]