Exemple #1
0
def step_impl(context, x, y, z):
    context.p = tuples.Point(x, y, z)
Exemple #2
0
def step_impl(context):
    assert type(context.b) != type(tuples.Point(0, 0, 0))
Exemple #3
0
def step_impl(context, x, y, z):
    result = tuples.t_sub(context.p, context.v)
    should_equal = tuples.Point(x, y, z)
    assert (result == should_equal)
Exemple #4
0
def step_impl(context, x, y, z, w):
    # a == (4.3, -4.2, 3.1, 1.0)
    context.a = tuples.Point(x, y, z)
Exemple #5
0
def step_impl(context, x, y, z):
    context.p2 = tuples.Point(int(x), int(y), int(z))