<commit_before>﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using PushbulletSharp.Models.Requests;
using System;
using System.Linq;

namespace PushbulletSharp.Tests
{
    [TestClass]
    public class BasicTests : TestBase
    {
        /// <summary>
        /// Currents the user information test.
        /// </summary>
        [TestMethod]
        public void CurrentUserInfoTest()
        {
            try
            {
                var response = Client.CurrentUsersInformation();
                Assert.IsNotNull(response);
            }
            catch (Exception ex)
            {
                Assert.Fail(ex.Message);
            }

        }


        /// <summary>
        /// Deviceses the test.
        /// </summary>
        [TestMethod]
        public void DevicesTest()
        {
            try
            {
                var devices = Client.CurrentUsersDevices();<commit_msg>Updated the name of the class PushTests from it's former name BasicTests.<commit_after>﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using PushbulletSharp.Models.Requests;
using System;
using System.Linq;

namespace PushbulletSharp.Tests
{
    [TestClass]
    public class PushTests : TestBase
    {
        /// <summary>
        /// Currents the user information test.
        /// </summary>
        [TestMethod]
        public void CurrentUserInfoTest()
        {
            try
            {
                var response = Client.CurrentUsersInformation();
                Assert.IsNotNull(response);
            }
            catch (Exception ex)
            {
                Assert.Fail(ex.Message);
            }

        }


        /// <summary>
        /// Deviceses the test.
        /// </summary>
        [TestMethod]
        public void DevicesTest()
        {
            try
            {
                var devices = Client.CurrentUsersDevices();
{'fraction_non_alphanumeric': 0.09336870026525199, 'fraction_numerical': 0.0, 'mean_word_length': 1.4398447606727038, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5430072', 'n_tokens_mistral': 482, 'n_tokens_neox': 454, 'n_words': 106}