-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGetX.cs
47 lines (46 loc) · 1.25 KB
/
GetX.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
41
42
43
44
45
46
47
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static AzurAPINetTests.Static;
namespace AzurAPINetTests
{
[TestClass]
public class GetX
{
// check if methods dont throw exceptions on valid/null inputs
[TestMethod]
public void getEquipmentByXName()
{
foreach (var eq in Client.getAllEquipments())
{
Client.getEquipment(eq.Names.kr);
}
Client.getEquipment(null);
}
[TestMethod]
public void getShip()
{
foreach (var ship in Client.getAllShips())
{
Client.getShip(ship.Names.kr);
}
Client.getShip(null);
}
[TestMethod]
public void getChapterMemory()
{
foreach (var mem in Client.getAllMemories())
{
Client.getChapterMemory(mem.Value.Names.kr);
}
Client.getChapterMemory(null);
}
[TestMethod]
public void getBarrageForShip()
{
foreach (var ship in Client.getAllShips())
{
var b = Client.getBarrageForShip(ship.Names.en);
}
Client.getBarrageForShip(null);
}
}
}