MCPcopy Index your code
hub / github.com/python/cpython / test_vector_subtraction

Method test_vector_subtraction

Lib/test/test_turtle.py:237–244  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

235 self._assert_arithmetic_cases(test_cases, lambda x, y: x + y)
236
237 def test_vector_subtraction(self):
238
239 test_cases = [
240 (((0, 0), (1, 1)), (-1, -1)),
241 (((10.625, 0.125), (10, 0)), (0.625, 0.125)),
242 ]
243
244 self._assert_arithmetic_cases(test_cases, lambda x, y: x - y)
245
246 def test_vector_multiply(self):
247

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected