Ejemplo n.º 1
0
        public void Enum_Should_Equal_Gollancz_Value()
        {
            //arrange
            var    imprints = Imprints.Create();
            string expected = "gollancz";

            //act
            //assert
            Assert.True(imprints.Gollancz == expected,
                        $"Assert failed, expected {expected} and found {imprints.Gollancz} ");
        }
Ejemplo n.º 2
0
        public void Enum_Should_Equal_Gateway_Value()
        {
            //arrange
            var    imprints = Imprints.Create();
            string expected = "gateway";

            //act
            //assert
            Assert.True(imprints.SciFiGateway == expected,
                        $"Assert failed, expected {expected} and found {imprints.SciFiGateway} ");
        }
Ejemplo n.º 3
0
        public void Enum_Should_Equal_WandN_Value()
        {
            //arrange
            var    imprints = Imprints.Create();
            string expected = "wandn,w&n";

            //act
            //assert
            Assert.True(imprints.WAndN == expected,
                        $"Assert failed, expected {expected} and found {imprints.WAndN} ");
        }
Ejemplo n.º 4
0
        public void Should_Validate_WandN_1()
        {
            //arrange
            var    validate = Imprints.Create();
            string imprint  = "W&N";

            //act
            var validated = Imprints.OneOf(imprint);

            //assert
            Assert.True(validated, $"Assert failed for {imprint} ");
        }