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

            Assert.IsNull(h, "no object should have been created");
        }
Esempio n. 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
        }
Esempio n. 3
0
 public void TestCreatorCTorBadClass()
 {
     dynamic c = new ROOTNET.Utility.ROOTCreator();
     dynamic h = c.TH1FF();
 }
Esempio n. 4
0
 public void NoNonTObjectClasses()
 {
     dynamic c = new ROOTNET.Utility.ROOTCreator();
     var h = c.TArray();
     Assert.IsNull(h, "no object should have been created");
 }
Esempio n. 5
0
 public void TestCreatorCTorBadClass()
 {
     dynamic c = new ROOTNET.Utility.ROOTCreator();
     dynamic h = c.TH1FF();
 }
Esempio n. 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
 }