public void IsSatisfied_Calculated() { Screen screen = Screen.CurvedScreen; ScreenSpecification actual = new ScreenSpecification(screen); ComputerMonitor data = new ComputerMonitor { Name = "A1", Screen = Screen.CurvedScreen, Type = MonitorType.LCD }; Assert.True(actual.IsSatisfied(data)); }
public void IsSatisfied_Calculated() { MonitorType type = MonitorType.LED; MonitorTypeSpecification actual = new MonitorTypeSpecification(type); ComputerMonitor data = new ComputerMonitor { Name = "B1", Screen = Screen.WideScreen, Type = MonitorType.LCD }; Assert.True(actual.IsSatisfied(data)); }