public void TestTypePass() { RetrieveStoryModel rsm = new RetrieveStoryModel(); rsm.hackerNewsType = "story"; Assert.IsTrue(rsm.testType()); }
public void TestTypeFail() { RetrieveStoryModel rsm = new RetrieveStoryModel(); rsm.hackerNewsType = "job"; Assert.IsFalse(rsm.testType()); }