argtum / OOP

Задания по объектно-ориентированному программированию
0 stars 0 forks source link

Замечания по TVSet #5

Open alexey-malov opened 5 years ago

alexey-malov commented 5 years ago
alexey-malov commented 5 years ago
typedef boost::bimap<int, string> bm_type;
typedef bm_type::value_type сhannelHasName;
alexey-malov commented 5 years ago
    void SetChannelName(const int& channelNumber, const string& channelName);
alexey-malov commented 5 years ago
alexey-malov commented 5 years ago
alexey-malov commented 5 years ago
alexey-malov commented 5 years ago
> SetChannel 6 TV 6
Channel saved: 6 - TV
alexey-malov commented 5 years ago
alexey-malov commented 5 years ago
alexey-malov commented 5 years ago
alexey-malov commented 5 years ago
SCENARIO("User wants to know which channel is sport", "[remote]")
alexey-malov commented 5 years ago
    auto it = m_channelList.right.find(string("33 sport"));
    if (it != m_channelList.right.end())
    {
        //it->right;
    }