diff options
author | alon@honor <none@none> | 2010-09-08 19:56:06 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-08 19:56:06 -0700 |
commit | 14c01624c3c1612fe0422c6747337ceee0627797 (patch) | |
tree | e0f2ec4710f195ba1c2f9bae3cf48795c514506a | |
parent | 01e51b24e90c2e6f1917ebf57ca60b1157d0556a (diff) |
simplify test
-rw-r--r-- | tests/runner.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/runner.py b/tests/runner.py index 0f1228c4..7bbfa80f 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -569,11 +569,7 @@ class T(unittest.TestCase): printf("*%d,%d,%d,%d,%d*\\n", a[0], a[9], *b, c[0], c[9]); // Part 2 -// A as[3] = { { 5, 12 }, { 6, 990 }, { 7, 2 } }; // XXX TODO! - A as[3]; - as[0].x = 5; as[0].y = 12; - as[1].x = 6; as[1].y = 990; - as[2].x = 7; as[2].y = 2; + A as[3] = { { 5, 12 }, { 6, 990 }, { 7, 2 } }; memcpy(&as[0], &as[2], ES_SIZEOF(A)); printf("*%d,%d,%d,%d,%d,%d*\\n", as[0].x, as[0].y, as[1].x, as[1].y, as[2].x, as[2].y); |