Fix some more compile calls
This commit is contained in:
parent
97a31eb34e
commit
35febd302e
@ -194,7 +194,7 @@ class TupleVariationTest(unittest.TestCase):
|
||||
[(7,4), (8,5), (9,6)])
|
||||
axisTags = ["wght", "wdth"]
|
||||
sharedPeakIndices = { var.compileCoord(axisTags): 0x77 }
|
||||
tup, deltas = var.compile(axisTags, sharedPeakIndices,
|
||||
tup, deltas, _ = var.compile(axisTags, sharedPeakIndices,
|
||||
sharedPoints={0,1,2})
|
||||
# len(deltas)=8; flags=None; tupleIndex=0x77
|
||||
# embeddedPeaks=[]; intermediateCoord=[]
|
||||
@ -209,7 +209,7 @@ class TupleVariationTest(unittest.TestCase):
|
||||
[(7,4), (8,5), (9,6)])
|
||||
axisTags = ["wght", "wdth"]
|
||||
sharedPeakIndices = { var.compileCoord(axisTags): 0x77 }
|
||||
tup, deltas = var.compile(axisTags, sharedPeakIndices,
|
||||
tup, deltas, _ = var.compile(axisTags, sharedPeakIndices,
|
||||
sharedPoints={0,1,2})
|
||||
# len(deltas)=8; flags=INTERMEDIATE_REGION; tupleIndex=0x77
|
||||
# embeddedPeak=[]; intermediateCoord=[(0.3, 0.1), (0.7, 0.9)]
|
||||
@ -224,7 +224,7 @@ class TupleVariationTest(unittest.TestCase):
|
||||
[(7,4), (8,5), (9,6)])
|
||||
axisTags = ["wght", "wdth"]
|
||||
sharedPeakIndices = { var.compileCoord(axisTags): 0x77 }
|
||||
tup, deltas = var.compile(axisTags, sharedPeakIndices,
|
||||
tup, deltas, _ = var.compile(axisTags, sharedPeakIndices,
|
||||
sharedPoints=None)
|
||||
# len(deltas)=9; flags=PRIVATE_POINT_NUMBERS; tupleIndex=0x77
|
||||
# embeddedPeak=[]; intermediateCoord=[]
|
||||
@ -240,7 +240,7 @@ class TupleVariationTest(unittest.TestCase):
|
||||
[(7,4), (8,5), (9,6)])
|
||||
axisTags = ["wght", "wdth"]
|
||||
sharedPeakIndices = { var.compileCoord(axisTags): 0x77 }
|
||||
tuple, deltas = var.compile(axisTags,
|
||||
tuple, deltas, _ = var.compile(axisTags,
|
||||
sharedPeakIndices, sharedPoints=None)
|
||||
# len(deltas)=9; flags=PRIVATE_POINT_NUMBERS; tupleIndex=0x77
|
||||
# embeddedPeak=[]; intermediateCoord=[(0.0, 0.0), (1.0, 1.0)]
|
||||
@ -255,7 +255,7 @@ class TupleVariationTest(unittest.TestCase):
|
||||
var = TupleVariation(
|
||||
{"wght": (0.0, 0.5, 0.5), "wdth": (0.0, 0.8, 0.8)},
|
||||
[(7,4), (8,5), (9,6)])
|
||||
tup, deltas = var.compile(axisTags=["wght", "wdth"],
|
||||
tup, deltas, _ = var.compile(axisTags=["wght", "wdth"],
|
||||
sharedCoordIndices={}, sharedPoints={0, 1, 2})
|
||||
# len(deltas)=8; flags=EMBEDDED_PEAK_TUPLE
|
||||
# embeddedPeak=[(0.5, 0.8)]; intermediateCoord=[]
|
||||
@ -268,7 +268,7 @@ class TupleVariationTest(unittest.TestCase):
|
||||
var = TupleVariation(
|
||||
{"wght": (0.0, 0.5, 0.5), "wdth": (0.0, 0.8, 0.8)},
|
||||
[3, 1, 4])
|
||||
tup, deltas = var.compile(axisTags=["wght", "wdth"],
|
||||
tup, deltas, _ = var.compile(axisTags=["wght", "wdth"],
|
||||
sharedCoordIndices={}, sharedPoints={0, 1, 2})
|
||||
# len(deltas)=4; flags=EMBEDDED_PEAK_TUPLE
|
||||
# embeddedPeak=[(0.5, 0.8)]; intermediateCoord=[]
|
||||
@ -280,7 +280,7 @@ class TupleVariationTest(unittest.TestCase):
|
||||
var = TupleVariation(
|
||||
{"wght": (0.0, 0.5, 1.0), "wdth": (0.0, 0.8, 0.8)},
|
||||
[(7,4), (8,5), (9,6)])
|
||||
tup, deltas = var.compile(axisTags=["wght", "wdth"],
|
||||
tup, deltas, _ = var.compile(axisTags=["wght", "wdth"],
|
||||
sharedCoordIndices={},
|
||||
sharedPoints={0, 1, 2})
|
||||
# len(deltas)=8; flags=EMBEDDED_PEAK_TUPLE
|
||||
@ -295,7 +295,7 @@ class TupleVariationTest(unittest.TestCase):
|
||||
var = TupleVariation(
|
||||
{"wght": (0.0, 0.5, 0.5), "wdth": (0.0, 0.8, 0.8)},
|
||||
[(7,4), (8,5), (9,6)])
|
||||
tup, deltas = var.compile(
|
||||
tup, deltas, _ = var.compile(
|
||||
axisTags=["wght", "wdth"], sharedCoordIndices={}, sharedPoints=None)
|
||||
# len(deltas)=9; flags=PRIVATE_POINT_NUMBERS|EMBEDDED_PEAK_TUPLE
|
||||
# embeddedPeak=[(0.5, 0.8)]; intermediateCoord=[]
|
||||
@ -309,7 +309,7 @@ class TupleVariationTest(unittest.TestCase):
|
||||
var = TupleVariation(
|
||||
{"wght": (0.0, 0.5, 0.5), "wdth": (0.0, 0.8, 0.8)},
|
||||
[7, 8, 9])
|
||||
tup, deltas = var.compile(
|
||||
tup, deltas, _ = var.compile(
|
||||
axisTags=["wght", "wdth"], sharedCoordIndices={}, sharedPoints=None)
|
||||
# len(deltas)=5; flags=PRIVATE_POINT_NUMBERS|EMBEDDED_PEAK_TUPLE
|
||||
# embeddedPeak=[(0.5, 0.8)]; intermediateCoord=[]
|
||||
@ -322,7 +322,7 @@ class TupleVariationTest(unittest.TestCase):
|
||||
var = TupleVariation(
|
||||
{"wght": (0.4, 0.5, 0.6), "wdth": (0.7, 0.8, 0.9)},
|
||||
[(7,4), (8,5), (9,6)])
|
||||
tup, deltas = var.compile(
|
||||
tup, deltas, _ = var.compile(
|
||||
axisTags = ["wght", "wdth"],
|
||||
sharedCoordIndices={}, sharedPoints=None)
|
||||
# len(deltas)=9;
|
||||
@ -339,7 +339,7 @@ class TupleVariationTest(unittest.TestCase):
|
||||
var = TupleVariation(
|
||||
{"wght": (0.4, 0.5, 0.6), "wdth": (0.7, 0.8, 0.9)},
|
||||
[7, 8, 9])
|
||||
tup, deltas = var.compile(
|
||||
tup, deltas, _ = var.compile(
|
||||
axisTags = ["wght", "wdth"],
|
||||
sharedCoordIndices={}, sharedPoints=None)
|
||||
# len(deltas)=5;
|
||||
|
Loading…
x
Reference in New Issue
Block a user