describe("TestingSelectChannel", function () {
it("TVSelectChannelIsAboveThanPermitted", function () {
assert.isAbove(tv.selectChannel(100), tv.selectChannel(99), "Can't be above");
});
});
describe("selectChannel method", function () {
const tv = new TV();
tv.power();
it("does not allow selecting channel above 98", function () {
assert.isFalse(tv.selectChannel(100));
});
it("selects provided channel number if it matches requirements", function () {
tv.selectChannel(88)
assert.isEqual(tv._channel, 88);
});
});