blob: c08fd30bd39bd17261ffc5c4ea2d0f67fd0b3f7e [file] [log] [blame]
akmhoque298385a2014-02-13 14:13:09 -06001#ifndef NLSR_TEST_HPP
2#define NLSR_TEST_HPP
3
4#include <iostream>
5#include <string>
6
7#include "nlsr_lsdb.hpp"
8#include "nlsr_lsa.hpp"
9#include "nlsr_adl.hpp"
10#include "nlsr_npl.hpp"
11#include "nlsr_adjacent.hpp"
12
13using namespace std;
14
akmhoque1a481092014-02-19 16:34:22 -060015class Nlsr;
akmhoque298385a2014-02-13 14:13:09 -060016
akmhoque1a481092014-02-19 16:34:22 -060017class NlsrTest
akmhoque298385a2014-02-13 14:13:09 -060018{
19public:
akmhoque1a481092014-02-19 16:34:22 -060020 NlsrTest()
akmhoque298385a2014-02-13 14:13:09 -060021 {
22 }
akmhoque1a481092014-02-19 16:34:22 -060023 void schedlueAddingLsas(Nlsr& pnlsr);
akmhoque298385a2014-02-13 14:13:09 -060024private:
akmhoque1a481092014-02-19 16:34:22 -060025 void secheduledAddNameLsa(Nlsr& pnlsr, string router,
akmhoque298385a2014-02-13 14:13:09 -060026 string name1, string name2, string name3);
akmhoque1a481092014-02-19 16:34:22 -060027 void secheduledAddCorLsa(Nlsr& pnlsr,string router, double r, double angle);
akmhoque298385a2014-02-13 14:13:09 -060028
akmhoque1a481092014-02-19 16:34:22 -060029 void scheduledAddAdjacentLsa(Nlsr& pnlsr, string router,
akmhoque298385a2014-02-13 14:13:09 -060030 Adjacent adj1, Adjacent adj2);
31
32};
33
34#endif