Split out txbuf and add unit test.

This commit is contained in:
Scott Shawcroft
2019-01-04 18:27:00 -08:00
parent a3173b8de4
commit 048fc9694c
9 changed files with 499 additions and 74 deletions
@@ -0,0 +1,8 @@
test/test_txbuf.c:140:test_normal:PASS
test/test_txbuf.c:141:test_nearly_full:PASS
test/test_txbuf.c:142:test_wrap_around:PASS
test/test_txbuf.c:143:test_wrap_around_too_much:PASS
-----------------------
4 Tests 0 Failures 0 Ignored
OK