Commit 8c9c54d1 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

set delimiter and dtype for server data

parent c5cf9ffc
Pipeline #1468 failed with stage
in 0 seconds
......@@ -24,13 +24,17 @@ class FlipImageTestCase(unittest.TestCase):
os.path.join(
os.environ["UNIT_TEST_DATA_ROOT"],
"csst_proto/test_flip/input/image.txt",
)
),
delimiter=",",
dtype=int,
)
image_answer = np.loadtxt(
os.path.join(
os.environ["UNIT_TEST_DATA_ROOT"],
"csst_proto/test_flip/answer/flipped_image.txt",
)
),
delimiter=",",
dtype=int,
)
self.assertIs(
flip_image(image_input),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment