public void TestMethod1() { JSONObject obj = Parser.Parse(File.ReadAllText("Test1.json")); MatchInfo match_info = new MatchInfo(obj); MatchInfo.Participant info = match_info.GetParticipantByName("dense terd"); Assert.AreEqual(info.summoner_name, "dense terd"); Assert.AreEqual(info.runes.primary_rune_ids[0], 8128); Assert.AreEqual(info.runes.secondary_rune_ids[0], 9111); Assert.IsNotNull(rune_data); Assert.IsNotNull(info.runes.ToString()); }