public void NormalPoint_6446_greater_than_NormalPoint_1144() { var dice1 = new Sibara(6, 4, 4, 6); var dice2 = new Sibara(1, 1, 4, 4); FirstDiceShouldEqualThanSecond(dice1, dice2); }
public void NormalPoint_6146_Less_than_NormalPoint_4255() { var dice1 = new Sibara(6, 1, 4, 6); var dice2 = new Sibara(4, 2, 5, 5); FirstDiceShouldEqualThanSecond(dice1, dice2); }
public void NormalPoint_6446_greater_than_NormalPoint_6642() { var dice1 = new Sibara(6, 4, 4, 6); var dice2 = new Sibara(6, 6, 4, 2); FirstDiceShouldGreaterThanSecond(dice1, dice2); }
public void SameColor2_Equal_SameColor2() { var dice1 = new Sibara(2, 2, 2, 2); var dice2 = new Sibara(2, 2, 2, 2); FirstDiceShouldEqualThanSecond(dice1, dice2); }
public void SameColor4_less_than_SameColor2() { var dice1 = new Sibara(4, 4, 4, 4); var dice2 = new Sibara(2, 2, 2, 2); FirstDiceShouldLessThanSecond(dice1, dice2); }
public void NormalPoint_less_than_SameColor() { var dice1 = new Sibara(5, 5, 2, 5); var dice2 = new Sibara(4, 4, 4, 4); FirstDiceShouldLessThanSecond(dice1, dice2); }
public void NoPoint_1236_greater_than_NoPoint_2345() { var dice1 = new Sibara(1, 2, 3, 6); var dice2 = new Sibara(2, 3, 4, 5); FirstDiceShouldEqualThanSecond(dice1, dice2); }
public void NoPoint_2221_less_than_NoPoint_2345() { var dice1 = new Sibara(2, 2, 2, 1); var dice2 = new Sibara(2, 3, 4, 5); FirstDiceShouldEqualThanSecond(dice1, dice2); }
public void NormalPoint_greater_than_NoPoint() { var dice1 = new Sibara(1, 1, 4, 5); var dice2 = new Sibara(2, 5, 6, 1); FirstDiceShouldGreaterThanSecond(dice1, dice2); }
public void SameColor_greater_than_NoPoint() { var dice1 = new Sibara(4, 4, 4, 4); var dice2 = new Sibara(2, 2, 2, 1); FirstDiceShouldGreaterThanSecond(dice1, dice2); }
public void input_6_2_6_2_should_be_Sibala() { var target = new Sibara(6, 2, 6, 2); var expected = "sibala"; var actual = target.SibaraResult; Assert.AreEqual(expected, actual); }
public void input_3_6_3_3_should_be_noPoints() { var target = new Sibara(3, 6, 3, 3); var expected = "no points"; var actual = target.SibaraResult; Assert.AreEqual(expected, actual); }
public void input_1Pair_contain21_should_be_BG() { _sibara = new Sibara(4, 4, 1, 2); OutputShouldBe("BG"); PointsShouldBe(3); MaxPointShouldBe(2); DiceTypeShouldBe(SibaraStatus.DiceTypeEnum.NormalPoint); }
public void input_2Pair_contain66_should_be_Sibala() { _sibara = new Sibara(2, 6, 6, 2); OutputShouldBe("sibala"); PointsShouldBe(12); MaxPointShouldBe(6); DiceTypeShouldBe(SibaraStatus.DiceTypeEnum.NormalPoint); }
public void input_4Diff_should_be_noPoint() { _sibara = new Sibara(1, 2, 4, 5); OutputShouldBe("no point"); PointsShouldBe(0); MaxPointShouldBe(5); DiceTypeShouldBe(SibaraStatus.DiceTypeEnum.NoPoint); }
public void input_1_3_4_2_should_be_4() { var target = new Sibara(1, 3, 4, 2); var expected = 4; var actual = target.MaxPoint; Assert.AreEqual(expected, actual); }
public void input_5_5_4_3_should_be_7_Points() { var target = new Sibara(5, 5, 4, 3); var expected = "7 point"; var actual = target.SibaraResult; Assert.AreEqual(expected, actual); }
public void input_5_5_2_2_should_be_10_Points() { var target = new Sibara(5, 5, 2, 2); var expected = "10 point"; var actual = target.SibaraResult; Assert.AreEqual(expected, actual); }
public void input_4_4_2_1_should_be_BG() { var target = new Sibara(4, 4, 2, 1); var expected = "BG"; var actual = target.SibaraResult; Assert.AreEqual(expected, actual); }
public void input_6_2_6_2_should_be_6() { var target = new Sibara(6, 2, 6, 2); var expected = 6; var actual = target.MaxPoint; Assert.AreEqual(expected, actual); }
public void input_1_1_1_1_should_be_1() { var target = new Sibara(1, 1, 1, 1); var expected = 1; var actual = target.MaxPoint; Assert.AreEqual(expected, actual); }
public void input_5_5_2_2_should_be_5() { var target = new Sibara(5, 5, 2, 2); var expected = 5; var actual = target.MaxPoint; Assert.AreEqual(expected, actual); }
public void input_4Same_should_be_sameColor() { _sibara = new Sibara(1, 1, 1, 1); OutputShouldBe("same color"); PointsShouldBe(0); MaxPointShouldBe(1); DiceTypeShouldBe(SibaraStatus.DiceTypeEnum.SameColor); }
public void input_4_4_2_1_should_be_2() { var target = new Sibara(4, 4, 2, 1); var expected = 2; var actual = target.MaxPoint; Assert.AreEqual(expected, actual); }
public void input_3Same_should_be_noPoint() { _sibara = new Sibara(3, 3, 1, 3); OutputShouldBe("no point"); PointsShouldBe(0); MaxPointShouldBe(3); DiceTypeShouldBe(SibaraStatus.DiceTypeEnum.NoPoint); }
public void input_1_1_1_1_should_be_sameColor() { var target = new Sibara(1, 1, 1, 1); var expected = "same color"; var actual = target.SibaraResult; Assert.AreEqual(expected, actual); }
public void input_2Pair_should_be_Points() { _sibara = new Sibara(1, 1, 5, 5); OutputShouldBe("10 point"); PointsShouldBe(10); MaxPointShouldBe(5); DiceTypeShouldBe(SibaraStatus.DiceTypeEnum.NormalPoint); }
public void input_5_5_4_3_should_be_4() { var target = new Sibara(5, 5, 4, 3); var expected = 4; var actual = target.MaxPoint; Assert.AreEqual(expected, actual); }
public void input_1Pair_should_be_Points() { _sibara = new Sibara(5, 5, 4, 3); OutputShouldBe("7 point"); PointsShouldBe(7); MaxPointShouldBe(4); DiceTypeShouldBe(SibaraStatus.DiceTypeEnum.NormalPoint); }
public void input_1_3_4_2_should_be_noPoints() { var target = new Sibara(1, 3, 4, 2); var expected = "no points"; var actual = target.SibaraResult; Assert.AreEqual(expected, actual); }