forked from microsoft/Recognizers-Text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestNumberWithUnit_Chinese.cs
40 lines (35 loc) · 1020 Bytes
/
TestNumberWithUnit_Chinese.cs
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Recognizers.Text.DataDrivenTests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests
{
[TestClass]
public class TestNumberWithUnit_Chinese : TestBase
{
[NetCoreTestDataSource]
[TestMethod]
public void AgeModel(TestModel testSpec)
{
TestNumberWithUnit(testSpec);
}
[NetCoreTestDataSource]
[TestMethod]
public void CurrencyModel(TestModel testSpec)
{
TestCurrency(testSpec);
}
[NetCoreTestDataSource]
[TestMethod]
public void DimensionModel(TestModel testSpec)
{
TestNumberWithUnit(testSpec);
}
[NetCoreTestDataSource]
[TestMethod]
public void TemperatureModel(TestModel testSpec)
{
TestNumberWithUnit(testSpec);
}
}
}