Skip to content

Pete Ware

NYC, Politics, and Tech

  • About
  • Archives
  • Resume

Tag: snippet

Technology

C++ unit test

November 28, 2010 petewareLeave a comment

Here’s the usual way I setup my main() for unit tests in unit_t.cpp. You can run either the entire test suite or specify an individual test on the command line:

$ ./unit_t TestWithin::testWithinDouble

Here’s the code:
Continue reading “C++ unit test” →

Tags

apple astronomy blogger cpp cppcon cppcon2019 economics economy environment federal budget fun gas geology 100 google iphone Iran jobs linux macosx marsedit micro-isv music News NYC opensuse philosophy Politics rdio stl taxes Technology unemployment vacation web wordpress

Categories

  • Fun
  • News
  • NYC
  • Politics
  • Technology
Log in
Log in
Create a website or blog at WordPress.com
  • Follow Following
    • Pete Ware
    • Already have a WordPress.com account? Log in now.
    • Pete Ware
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar