예제 #1
0
        public void isMutateDNALess(bool expected)
        {
            Classes.Mutant _person   = new Classes.Mutant(new string[] { "A", "C", "T", "A", "C", "T" });
            bool           isMutante = false;
            functions      _f        = new functions();

            isMutante = _f.isMutant(_person);
            Assert.Equal(expected, isMutante);
        }
예제 #2
0
        public void isNotMutateDNA(bool expected)
        {
            Classes.Mutant _person   = new Classes.Mutant(new string[] { "ATGCGA", "CAGTGC", "TTATTT", "AGACGG", "GCGTCA", "TCACTG" });
            bool           isMutante = false;
            functions      _f        = new functions();

            isMutante = _f.isMutant(_person);
            Assert.Equal(expected, isMutante);
        }
예제 #3
0
        public void isMutateDNA(bool expected)
        {
            Classes.Mutant _person = new Classes.Mutant();
            _person.DNA = new string[] { "ATGCGA", "CAGTGC", "TTATGT", "AGAAGG", "CCCCTA", "TCACTG" };
            bool      isMutante = false;
            functions _f        = new functions();

            isMutante = _f.isMutant(_person);
            Assert.Equal(expected, isMutante);
        }