public void OptionParticipantsAreCountedProperly()
{
//arrange
var participants = new[]
{
new ParticipationRecord("user1", "OPTION_1", false, null),
new ParticipationRecord("user2", "OPTION_1", false, null),
new ParticipationRecord("user1", "OPTION_2", false, null),
new ParticipationRecord("user2", "OPTION_2", false, null),
new ParticipationRecord("user3", "OPTION_2", false, null),
};
var exp = new Experiment(null, null, null, DateTime.Now, null, participants, new[] { "OPTION_1", "OPTION_2" });
//act
var options = exp.Options;
//assert
options.ElementAt(0).Participants.ShouldEqual(2);
options.ElementAt(1).Participants.ShouldEqual(3);
}