blob: 17381a8376d317f3d49d6d59c320a7deb5601bd8 [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
akmhoqueb1710aa2014-02-19 17:13:36 -060013namespace nlsr {
14
akmhoque298385a2014-02-13 14:13:09 -060015using namespace std;
16
akmhoque1a481092014-02-19 16:34:22 -060017class Nlsr;
akmhoque298385a2014-02-13 14:13:09 -060018
akmhoque1a481092014-02-19 16:34:22 -060019class NlsrTest
akmhoque298385a2014-02-13 14:13:09 -060020{
21public:
akmhoque1a481092014-02-19 16:34:22 -060022 NlsrTest()
akmhoque298385a2014-02-13 14:13:09 -060023 {
24 }
akmhoque1a481092014-02-19 16:34:22 -060025 void schedlueAddingLsas(Nlsr& pnlsr);
akmhoque298385a2014-02-13 14:13:09 -060026private:
akmhoque1a481092014-02-19 16:34:22 -060027 void secheduledAddNameLsa(Nlsr& pnlsr, string router,
akmhoque298385a2014-02-13 14:13:09 -060028 string name1, string name2, string name3);
akmhoque1a481092014-02-19 16:34:22 -060029 void secheduledAddCorLsa(Nlsr& pnlsr,string router, double r, double angle);
akmhoque298385a2014-02-13 14:13:09 -060030
akmhoque1a481092014-02-19 16:34:22 -060031 void scheduledAddAdjacentLsa(Nlsr& pnlsr, string router,
akmhoque298385a2014-02-13 14:13:09 -060032 Adjacent adj1, Adjacent adj2);
33
34};
35
akmhoqueb1710aa2014-02-19 17:13:36 -060036} //namespace nlsr
akmhoque298385a2014-02-13 14:13:09 -060037#endif