OSDN Git Service

NMEAパケットの部分実装(GPDTM, GPGBS, GPGLL)
[yubeshi/yubeshi.git] / YubeshiTest / YumaAlmanacReaderTest.cs
1 /*\r
2  *      Yubeshi GPS Parser\r
3  *\r
4  *      This software is distributed under a zlib-style license.\r
5  *      See license.txt for more information.\r
6  */\r
7 \r
8 using System;\r
9 using System.Collections.Generic;\r
10 using System.Text;\r
11 using NUnit.Framework;\r
12 using Yubeshi;\r
13 \r
14 namespace YubeshiTest\r
15 {\r
16     class YumaAlmanacReaderTest\r
17     {\r
18 \r
19         [Test]\r
20         public void Read()\r
21         {\r
22             YumaAlmanacReader reader = \r
23                                 new YumaAlmanacReader("Resources/almanac.alm");\r
24             Almanac[] list = reader.Read();\r
25             Assert.AreEqual(31, list.Length);\r
26         }\r
27 \r
28 \r
29     }\r
30 }\r