diff options
Diffstat (limited to 'test.cc')
-rw-r--r-- | test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -264,12 +264,12 @@ int main() { [&] { tst("results"); - ::zp::res<::zp::i8s,::zp::i8s> res = ::zp::err<::zp::i8s>(0x45); + auto res = ::zp::res<::zp::i8s,::zp::i8s>::err(0x45); chkeq(res.chk(),false); - chkeq(res.err(),0x45); + chkeq(res.geterr(),0x45); - res = -0x45; + res = ::zp::res<::zp::i8s,::zp::i8s>::oky(-0x45); auto const fun = [](char const* msg) -> void { ::std::cout << msg << ::std::endl; |