Coverage Report

Created: 2024-01-26 01:52

/work/auto_tests/friend_connection_test.c
Line
Count
Source
1
/* Tests that we can make a friend connection.
2
 *
3
 * This is the simplest test that brings up two toxes that can talk to each
4
 * other. It's useful as a copy/pasteable starting point for testing other
5
 * features.
6
 */
7
8
#include <stdint.h>
9
10
#include "auto_test_support.h"
11
12
static void friend_connection_test(AutoTox *toxes)
13
3
{
14
    // Nothing to do here. When copying this test, add test-specific code here.
15
3
}
16
17
int main(void)
18
721
{
19
721
    setvbuf(stdout, nullptr, _IONBF, 0);
20
21
721
    Run_Auto_Options options = default_run_auto_options();
22
721
    options.graph = GRAPH_LINEAR;
23
721
    run_auto_test(nullptr, 2, friend_connection_test, 0, &options);
24
25
721
    return 0;
26
721
}