public void TestValidateInvalidContentPath() { var opts = new Options { BSPPath = "testdata/map.bsp", ContentPath = "testdataInvalid" }; Assert.Throws <App.InvalidOptionException>(() => Program.ValidateOptions(opts)); }
public void TestValidateValidOptions() { var opts = new Options { BSPPath = "testdata/map.bsp", ContentPath = "testdata" }; Program.ValidateOptions(opts); // Should not throw anything }