示例#1
0
        public void ErJuleTall(long number, bool expected)
        {
            var juletallfinner = new Luke8_Juletall();

            var erJuletall = juletallfinner.ErJuleTall(number, new HashSet <long>(), new HashSet <long>());

            Assert.AreEqual(expected, erJuletall);
        }
示例#2
0
        public void KonkurransePrint()
        {
            var juletallfinner = new Luke8_Juletall();

            Console.WriteLine(string.Join(", ", juletallfinner.AlleJuletall()));
        }
示例#3
0
        public void Konkurranse()
        {
            var juletallfinner = new Luke8_Juletall();

            Console.WriteLine(juletallfinner.SumAlle());
        }