projects
/
cs356-p1-elevator.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e8dda09e1232450f24e1855515a6278dcb7b7f6b
[cs356-p1-elevator.git]
/
test.cpp
1
#include <iostream>
2
using namespace std;
3
4
//#include "elevator.hpp"
5
#include "stop.hpp"
6
7
int main (int argc, char *argv[])
8
{
9
Stop s1 (1, DOWN);
10
Stop s2 (2, DOWN);
11
12
if (s1 > s2)
13
cout << "s1 > s2" << endl;
14
else if (s1 == s2)
15
cout << "s1 == s2" << endl;
16
else if (s1 < s2)
17
cout << "s1 < s2" << endl;
18
else
19
cout << "BAD BAD BAD" << endl;
20
21
return 0;
22
}
23