diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-03 15:44:43 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-08 12:54:39 +0000 |
commit | 3fcc9a3c83c807792846ae2c9f98aeb447e62805 (patch) | |
tree | 757f7e6a50b32534dcf0fa38007dbf0265eeb7ef /toxcore/BUILD.bazel | |
parent | dcd439a5c3d80cd89c493a900c78e2a398f65248 (diff) |
Add some unit tests for util.h.
Diffstat (limited to 'toxcore/BUILD.bazel')
-rw-r--r-- | toxcore/BUILD.bazel | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/toxcore/BUILD.bazel b/toxcore/BUILD.bazel index 3b96dd6d..934ff16c 100644 --- a/toxcore/BUILD.bazel +++ b/toxcore/BUILD.bazel | |||
@@ -72,6 +72,15 @@ cc_library( | |||
72 | ], | 72 | ], |
73 | ) | 73 | ) |
74 | 74 | ||
75 | cc_test( | ||
76 | name = "util_test", | ||
77 | srcs = ["util_test.cpp"], | ||
78 | deps = [ | ||
79 | ":network", | ||
80 | "@gtest", | ||
81 | ], | ||
82 | ) | ||
83 | |||
75 | cc_library( | 84 | cc_library( |
76 | name = "ping_array", | 85 | name = "ping_array", |
77 | srcs = ["ping_array.c"], | 86 | srcs = ["ping_array.c"], |