// Test account with no streams added
TEST_CASE("No streaming", "[Account]") {
const auto customer = Account("Fred");
REQUIRE(customer.name() == "Fred");
REQUIRE(customer.data() == "");
}
// Test .addStream() method - single stream
TEST_CASE(".addStream() - single stream", "[Account]") {
constexpr auto episodes = 10;
const auto video = Video("Pawn Stars", Video::Type::TVSHOW, Duration(0, 30), episodes);
const auto stream = Stream(video, 25);
auto customer = Account("Fred");
// Add "Pawn Stars" as stream into the customer's account
customer.addStream(stream);
// Check .data()
REQUIRE(customer.data() == "Fred,TVSHOW,Pawn Stars,0,750,25\n");
}