Removed remaining kernel imports from ip lib.
[reactos.git] / reactos / drivers / net / tcpip / tests / tests / tigetprotocolnumber.c
diff --git a/reactos/drivers/net/tcpip/tests/tests/tigetprotocolnumber.c b/reactos/drivers/net/tcpip/tests/tests/tigetprotocolnumber.c
new file mode 100644 (file)
index 0000000..1fe2164
--- /dev/null
@@ -0,0 +1,13 @@
+#include <roscfg.h>
+#include "../../include/precomp.h"
+#include "regtests.h"
+
+static void RunTest() {
+    UNICODE_STRING Str;
+    int Proto;
+    RtlInitUnicodeString( &Str, L"1" );
+    TiGetProtocolNumber( &Str, (PULONG)&Proto );
+    _AssertEqualValue(1, Proto);
+}
+
+_Dispatcher(TigetprotocolnumberTest, "TiGetProtocolNumber");