Example #1
0
def test_inject_timing():
    assert d.inject_timing(m("4100" + "0000")) == -210 * Unit.degrees
    assert float_equals(d.inject_timing(m("4100" + "FFFF")), 302 * Unit.degrees)
Example #2
0
def test_inject_timing():
	assert              d.inject_timing("0000") == (-210, Unit.DEGREES)
	assert float_equals(d.inject_timing("FFFF"),   (302,  Unit.DEGREES))
Example #3
0
def test_inject_timing():
    assert d.inject_timing(m("0000")) == (-210, Unit.DEGREES)
    assert float_equals(d.inject_timing(m("FFFF")), (302, Unit.DEGREES))
Example #4
0
def test_inject_timing():
    assert d.inject_timing(m("4100" + "0000")) == -210 * Unit.degrees
    assert float_equals(d.inject_timing(m("4100" + "FFFF")),
                        302 * Unit.degrees)