How do you check the calculator? Any thoughts?
thank,
=== Sorry that I did not set out this question in great detail at the beginning. Now I want to talk more about this. This question was asked during a technical interview for a programmer . So I guess they were looking for some really smart answers or some good approach to testing such an application ...
Thanks again.
, ... .
...
.
,
, , , . , , .
, .
Finally, you will need to check all non-mathematical functionality - does the clear button clear the display? Are your cancel buttons canceled correctly? Etc.
In general, you want to check for boundaries for each possible operation.
For example, to add, you check negative additions, additions containing irrational or infinite numbers, etc.
To divide, you must check the division by 0, etc.
Source: https://habr.com/ru/post/1754280/More articles:What is jquery noConflict, why do we need it? - jquerySchedule a routine to run at a specific time - vbasmarty {cycle} and three meanings - smartyСоветы по индексу сервера Sql - sqlNeed help understanding Javascript.match method - javascriptAndroid Eclipse, Dropbox, Windows and Linux - androidCreating Visual Studio code - how to deal with developers by editing class files - visual-studio-2010Using a null value in MySQL columns of type TIMESTAMP - sqlSort dicts (contained in lists) alphabetically in Python - pythonhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1754285/how-do-i-get-my-prevnext-links-to-send-me-to-the-top-of-the-page&usg=ALkJrhjANB09TUAf9XwmLTN7kYWzYZqynwAll Articles