Example #1
0
        public void NoNonTObjectClasses()
        {
            dynamic c = new ROOTNET.Utility.ROOTCreator();
            var     h = c.TArray();

            Assert.IsNull(h, "no object should have been created");
        }
Example #2
0
        public void CreateTH1FNoArgs()
        {
            dynamic c = new ROOTNET.Utility.ROOTCreator();
            var     h = c.TH1F();

            Assert.AreEqual(1, h.GetNbinsX(), "# of bins"); // 1 is the default
        }
Example #3
0
 public void TestCreatorCTorBadClass()
 {
     dynamic c = new ROOTNET.Utility.ROOTCreator();
     dynamic h = c.TH1FF();
 }
Example #4
0
 public void NoNonTObjectClasses()
 {
     dynamic c = new ROOTNET.Utility.ROOTCreator();
     var h = c.TArray();
     Assert.IsNull(h, "no object should have been created");
 }
Example #5
0
 public void TestCreatorCTorBadClass()
 {
     dynamic c = new ROOTNET.Utility.ROOTCreator();
     dynamic h = c.TH1FF();
 }
Example #6
0
 public void CreateTH1FNoArgs()
 {
     dynamic c = new ROOTNET.Utility.ROOTCreator();
     var h = c.TH1F();
     Assert.AreEqual(1, h.GetNbinsX(), "# of bins"); // 1 is the default
 }