Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timetable_maker data.pyのテストコードを書く #49

Closed
ftnext opened this issue Apr 25, 2021 · 1 comment · Fixed by #50
Closed

timetable_maker data.pyのテストコードを書く #49

ftnext opened this issue Apr 25, 2021 · 1 comment · Fixed by #50

Comments

@ftnext
Copy link
Owner

ftnext commented Apr 25, 2021

#43 を分割して対処する

2021/04のLTで題材にする(ftnext/2021_slides#20 )ので、思い出すのも兼ねてテストを書いた

@ftnext
Copy link
Owner Author

ftnext commented Apr 25, 2021

定数NotImplementedが返っていることの検証は、裏のメソッドを直接呼び出した。
演算子==を使うと演算の結果(False)が得られた(NotImplementedが返ったときの演算子の動きと思われる)
ref: https://stackoverflow.com/a/879005

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant