def step_impl(context, x, y, z): context.p = tuples.Point(x, y, z)
def step_impl(context): assert type(context.b) != type(tuples.Point(0, 0, 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)
def step_impl(context, x, y, z, w): # a == (4.3, -4.2, 3.1, 1.0) context.a = tuples.Point(x, y, z)
def step_impl(context, x, y, z): context.p2 = tuples.Point(int(x), int(y), int(z))