From 5ec3391f138997ac12cbf9fea11c5c4eb64d2620 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 3 Jun 2021 02:27:27 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20'test=5Fsample.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test_sample.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test_sample.py diff --git a/test_sample.py b/test_sample.py new file mode 100644 index 0000000..4b0d9fb --- /dev/null +++ b/test_sample.py @@ -0,0 +1,7 @@ +# content of test_sample.py +def inc(x): + return x + 1 + + +def test_answer(): + assert inc(3) == 5 \ No newline at end of file