school/cs142/smcquay/lab04/test01.cc

21 lines
389 B
C++
Raw Normal View History

2016-04-06 20:45:34 -07:00
#include <iostream>
#include <vector>
#include "num_set.h"
#include "converts.h"
using namespace std;
const string usage = "usage: test <index> <0/1>";
int main() {
vector<string> nums = generate_numbers(0, 0);
cout << "should print evens:" << endl;
for(string n: nums) {
int i = str2int(n);
cout << ">>> " << n << ", " << i << endl;
}
return 0;
}