Beispiel #1
0
    public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CrystalDecisions.ReportSource.ICachedReport.CreateReport()
    {
        IQTest rpt = new IQTest();

        rpt.Site = this.Site;
        return(rpt);
    }
Beispiel #2
0
        public void IQTest_A_Chris()
        {
            var stopWatch = Stopwatch.StartNew();

            Assert.AreEqual(32, IQTest.Solve_Chris("9 31 27 93 17 77 75 9 9 53 89 39 51 99 5 1 11 39 27 49 91 17 27 79 81 71 37 75 35 13 93 4 99 55 85 11 23 57 5 43 5 61 15 35 23 91 3 81 99 85 43 37 39 27 5 67 7 33 75 59 13 71 51 27 15 93 51 63 91 53 43 99 25 47 17 71 81 15 53 31 59 83 41 23 73 25 91 9"));
            stopWatch.Stop();
            Console.WriteLine(stopWatch.ElapsedTicks.ToString());
        }
Beispiel #3
0
 public void ShouldReturnTheCorrectIPv4GivenAnInteger(string input, int expected)
 {
     Assert.Equal(expected, IQTest.Test(input));
 }
 public void Test1()
 {
     Assert.AreEqual(3, IQTest.Test("2 4 7 8 10"));
 }
 public void Test2()
 {
     Assert.AreEqual(1, IQTest.Test("1 2 2"));
 }