Update 'AOC2021.Test/DayTest.cs'
continuous-integration/drone/push Build is failing Details

master
97WaterPolo 2 years ago
parent 44df745c09
commit 8e2bccd90f

@ -6,6 +6,7 @@ using AOC2021.Test.Models;
using System.Diagnostics; using System.Diagnostics;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO;
using System.Linq; using System.Linq;
namespace AOC2021.Tests namespace AOC2021.Tests
@ -22,6 +23,7 @@ namespace AOC2021.Tests
[TestMethod] [TestMethod]
public void Day1() public void Day1()
{ {
Console.WriteLine(Directory.GetCurrentDirectory());
var request = new TestRequest() { Day = "day1", Answer = new Answer() { Day_A_Test = "7", Day_A_Input = "1759", Day_B_Test = "5", Day_B_Input = "1805" } }; var request = new TestRequest() { Day = "day1", Answer = new Answer() { Day_A_Test = "7", Day_A_Input = "1759", Day_B_Test = "5", Day_B_Input = "1805" } };
var result = _tester.Test(request); var result = _tester.Test(request);
Assert.IsTrue(request.Answer.Equals(result.Answer)); Assert.IsTrue(request.Answer.Equals(result.Answer));

Loading…
Cancel
Save