/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to test/test-main.cc

  • Committer: edam
  • Date: 2010-02-02 16:13:16 UTC
  • Revision ID: edam@waxworlds.org-20100202161316-tceybmdeotltldow
- print "ok" when test program is successful!
- renamed 'Makefile's 'subdir.mk' so that the edam.mk build system will live happily along side an autotools build system

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
        sqlite::query( db, "SELECT age FROM pets ORDER BY age DESC LIMIT 1" )
131
131
                .step() >> age; assert( age == 99 );
132
132
 
 
133
        // ok
 
134
        std::cout << "ok\n";
133
135
        return 0;
134
136
}