aboutsummaryrefslogtreecommitdiffstats
path: root/dispasstest.c
blob: abf9750314960c75f201acd0bf3d9a0d55bc8c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <stdio.h>
#include <stdlib.h>

#include "dispass.h"

int main(int argc, char *argv[])
{
    char *test1, *test2, *test3, *test4;

    test1 = dispass1("test", "qqqqqqqq", 30, 0);
    test2 = dispass1("test2", "qqqqqqqq", 50, 0);
    test3 = dispass2("test", "qqqqqqqq", 30, 1);
    test4 = dispass2("test2", "qqqqqqqq", 50, 10);

    printf("%s\n", test1);
    printf("%s\n", test2);
    printf("%s\n", test3);
    printf("%s\n", test4);

    free(test1);
    free(test2);
    free(test3);
    free(test4);

    return 0;
}