コード例 #1
0
        public void ProgressBarTest()
        {
            var progressBar = statusStrip.GetProgressBar();

            Assert.That(progressBar.Minimum, Is.EqualTo(0));
            Assert.That(progressBar.Value, Is.EqualTo(33));
            Assert.That(progressBar.Maximum, Is.EqualTo(100));
        }
コード例 #2
0
        public void ProgressBar()
        {
            ProgressBar progressBar = statusStrip.GetProgressBar();

            Assert.AreEqual(0, progressBar.Minimum);
            Assert.AreEqual(33, progressBar.Value);
            Assert.AreEqual(100, progressBar.Maximum);
        }