Commit 89919a4f authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

added unit test

parent f7ece267
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ A simple example on how to use this package:

```python
import numpy as np
from csst_proto import flip_image, print_data
from csst_proto.top_level_interface import flip_image, read_test_image
from astropy.io import fits

# read an L0 image
+1 −1
Original line number Diff line number Diff line
@@ -30,4 +30,4 @@ def flip_image(img: np.ndarray):
def read_test_image():
    """ read test image """
    fp_img = PACKAGE_PATH + "/data/test_image.txt"
    return np.loadtxt(fp_img)
    return np.loadtxt(fp_img, dtype=int)