Example #1
0
        public void CreateACalculatorClassWithADefaultConstructorAndInstanciate()
        {
            Calculator calculator = new Calculator();

            Check.That(calculator).IsNotNull();
        }
Example #2
0
        public void AddAGetterForNameInsteadOfPublicNameMember()
        {
            var calculator = new Calculator();

            Check.That(calculator.Name).Equals("Calculator");
        }
Example #3
0
        public void UseObjectInitilizerWithDefaultConstructor()
        {
            var calculator = new Calculator();

            Check.That(calculator.Name).Equals("Calculator");
        }