tomzhang / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

test void method using gooogetest #466

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

i only know how to test such fuction whose return type is int char
but if return type is void , how will we goona test it.
i tried to search but didn't find anything

i only find is one line void.assert()

Original issue reported on code.google.com by ank...@gmail.com on 25 Jun 2014 at 5:43