0
回顧PyHamcrest's API,我看到有一個equal_to
匹配爲什麼PyHamcrest沒有負平等匹配器?
from hamcrest import *
assert_that('1', equal_to('1'))
但有諸如not_equal_to
from hamcrest import *
assert_that('1', not_equal_to('2'))
什麼是負匹配平等的恰當方式沒有平行負的方法?