garrettDavis718_Yew-and-Eye/DigiviceEmulator/DigiviceEmulatorLibTests/ControllerTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DigiviceEmulatorLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DigiviceEmulatorLib.Tests
{
	[TestClass()]
	public class ControllerTests
	{
		[TestMethod()]
		public void LoginTest()
		{
			string email = "testEmail",
				   password = "testHash";
			DatabaseOps.DatabasePath = @"../../UnitTests.db";
			Controller.CreateUser(email, password);
			Assert.IsTrue(Controller.Login(email, password));
		}

		[TestMethod()]
		public void CreateUserTest()
		{
			string email = "testEmail",
				   password = "testHash";
			DatabaseOps.DatabasePath = @"../../UnitTests.db";
			Assert.IsTrue(Controller.CreateUser(email, password));
		}
	}
}