LEFT | RIGHT |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) | 3 * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 { | 198 { |
199 public: | 199 public: |
200 LteSpectrumValueHelperTestSuite (); | 200 LteSpectrumValueHelperTestSuite (); |
201 }; | 201 }; |
202 | 202 |
203 static LteSpectrumValueHelperTestSuite g_lteSpectrumValueHelperTestSuite; | 203 static LteSpectrumValueHelperTestSuite g_lteSpectrumValueHelperTestSuite; |
204 | 204 |
205 LteSpectrumValueHelperTestSuite::LteSpectrumValueHelperTestSuite () | 205 LteSpectrumValueHelperTestSuite::LteSpectrumValueHelperTestSuite () |
206 : TestSuite ("lte-spectrum-value-helper", UNIT) | 206 : TestSuite ("lte-spectrum-value-helper", UNIT) |
207 { | 207 { |
208 #if 0 | 208 // LogLevel logLevel = (LogLevel)(LOG_PREFIX_FUNC | LOG_PREFIX_TIME | LOG_LEVE
L_ALL); |
209 LogLevel logLevel = (LogLevel)(LOG_PREFIX_FUNC | LOG_PREFIX_TIME | LOG_LEVEL_A
LL); | 209 // LogComponentEnable ("LteSpectrumModelTestCase", logLevel); |
210 LogComponentEnable ("LteSpectrumModelTestCase", logLevel); | 210 // LogComponentEnable ("LteSpectrumValueHelperTestSuite", logLevel); |
211 LogComponentEnable ("LteSpectrumValueHelperTestSuite", logLevel); | 211 // LogComponentEnable ("LteSpectrumValueHelper", logLevel); |
212 LogComponentEnable ("LteSpectrumValueHelper", logLevel); | 212 |
213 #endif | |
214 · | 213 · |
215 NS_LOG_INFO ("Creating LteSpectrumValueHelperTestSuite"); | 214 NS_LOG_INFO ("Creating LteSpectrumValueHelperTestSuite"); |
| 215 |
| 216 |
216 | 217 |
217 std::vector<double> fc2160nrb6 (6); | 218 std::vector<double> fc2160nrb6 (6); |
218 fc2160nrb6[0] = 2.159550000000e+09; | 219 fc2160nrb6[0] = 2.159550000000e+09; |
219 fc2160nrb6[1] = 2.159730000000e+09; | 220 fc2160nrb6[1] = 2.159730000000e+09; |
220 fc2160nrb6[2] = 2.159910000000e+09; | 221 fc2160nrb6[2] = 2.159910000000e+09; |
221 fc2160nrb6[3] = 2.160090000000e+09; | 222 fc2160nrb6[3] = 2.160090000000e+09; |
222 fc2160nrb6[4] = 2.160270000000e+09; | 223 fc2160nrb6[4] = 2.160270000000e+09; |
223 fc2160nrb6[5] = 2.160450000000e+09; | 224 fc2160nrb6[5] = 2.160450000000e+09; |
224 AddTestCase (new LteSpectrumModelTestCase ("fc2160nrb6", 500, 6, fc2160nrb6),
TestCase::QUICK); | 225 AddTestCase (new LteSpectrumModelTestCase ("fc2160nrb6", 500, 6, fc2160nrb6),
TestCase::QUICK); |
225 | 226 |
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1699 spectrumValue_txpowdB30nrb100run2earfcn500[95] = 5.555555555556e-08; | 1700 spectrumValue_txpowdB30nrb100run2earfcn500[95] = 5.555555555556e-08; |
1700 spectrumValue_txpowdB30nrb100run2earfcn500[96] = 0.000000000000e+00; | 1701 spectrumValue_txpowdB30nrb100run2earfcn500[96] = 0.000000000000e+00; |
1701 spectrumValue_txpowdB30nrb100run2earfcn500[97] = 0.000000000000e+00; | 1702 spectrumValue_txpowdB30nrb100run2earfcn500[97] = 0.000000000000e+00; |
1702 spectrumValue_txpowdB30nrb100run2earfcn500[98] = 5.555555555556e-08; | 1703 spectrumValue_txpowdB30nrb100run2earfcn500[98] = 5.555555555556e-08; |
1703 spectrumValue_txpowdB30nrb100run2earfcn500[99] = 5.555555555556e-08; | 1704 spectrumValue_txpowdB30nrb100run2earfcn500[99] = 5.555555555556e-08; |
1704 AddTestCase (new LteTxPsdTestCase ("txpowdB30nrb100run2earfcn500", 500, 100, 3
0.000000, activeRbs_txpowdB30nrb100run2earfcn500, spectrumValue_txpowdB30nrb100r
un2earfcn500), TestCase::QUICK); | 1705 AddTestCase (new LteTxPsdTestCase ("txpowdB30nrb100run2earfcn500", 500, 100, 3
0.000000, activeRbs_txpowdB30nrb100run2earfcn500, spectrumValue_txpowdB30nrb100r
un2earfcn500), TestCase::QUICK); |
1705 | 1706 |
1706 | 1707 |
1707 | 1708 |
1708 } | 1709 } |
LEFT | RIGHT |