Skip to content

Commit

Permalink
Add hystart_test.c to VS solution
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Feb 18, 2025
1 parent 27e2c28 commit c4f5436
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
18 changes: 18 additions & 0 deletions UnitTest1/unittest1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3281,6 +3281,24 @@ namespace UnitTest1
Assert::AreEqual(ret, 0);
}

TEST_METHOD(slow_start_example) {
int ret = slow_start_example_test();

Assert::AreEqual(ret, 0);
}

TEST_METHOD(hystart_example) {
int ret = hystart_example_test();

Assert::AreEqual(ret, 0);
}

TEST_METHOD(hystart_pp_example_test) {
int ret = slow_start_example_test();

Assert::AreEqual(ret, 0);
}

TEST_METHOD(cplusplus) {
int ret = cplusplustest();

Expand Down
2 changes: 0 additions & 2 deletions picoquictest/hystart_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ static int hystart_test_one(picoquic_congestion_algorithm_t* ccalgo, picoquic_hy
{
uint64_t simulated_time = 0;
uint64_t picoseq_per_byte = (1000000ull * 8) / datarate;
picoquic_tp_t client_parameters;
picoquic_tp_t server_parameters;
picoquic_connection_id_t initial_cid = { {0x55, 0x45, 0, 0, 0, 0, 0, 0}, 8 };
picoquic_test_tls_api_ctx_t* test_ctx = NULL;
int ret = 0;
Expand Down
2 changes: 1 addition & 1 deletion picoquictest/picoquictest.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
<ClCompile Include="h3zero_uri_test.c" />
<ClCompile Include="hashtest.c" />
<ClCompile Include="high_latency_test.c" />
<ClInclude Include="hystart_test.c" />
<ClCompile Include="hystart_test.c" />
<ClCompile Include="intformattest.c" />
<ClCompile Include="l4s_test.c" />
<ClCompile Include="mbedtls_test.c" />
Expand Down
6 changes: 3 additions & 3 deletions picoquictest/picoquictest.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@
<ClCompile Include="high_latency_test.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="hystart_test.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="edge_cases.c">
<Filter>Source Files</Filter>
</ClCompile>
Expand Down Expand Up @@ -204,6 +201,9 @@
<ClCompile Include="picoquic_ns.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="hystart_test.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="picoquictest.h">
Expand Down

0 comments on commit c4f5436

Please sign in to comment.