rac5869 / calc Goto Github PK
View Code? Open in Web Editor NEWCalculator bugs found
Calculator bugs found
See below testing grid
minuendOr1st subtrahendOr2nd ExpectedResult ActualResult Match?
2.0 1.1 0.9 0.8999999999999999 FALSE
Performing a subtraction transaction where either the minuend or subtrahend is not a floating point number results in a 400 bad request.
Examples:
2 - 0 = (400 error code; bad request)
2 - 1.0 = (400 error code; bad request)
2.0 - 1 = (400 error code; bad request)
When our CSS includes the fontawesome URLs they get a 301 redirect to an empty location:
http://www.dramafever.com/static/d65f791/font/fontawesome-webfont.woff
ry4an@four:~$ GET -Sse http://www.dramafever.com/static/d65f791/font/fontawesome-webfont.woff
GET http://www.dramafever.com/static/d65f791/font/fontawesome-webfont.woff
301 Moved Permanently
Connection: Close
Date: Mon, 18 Mar 2013 18:18:38 GMT
Location:
Server: nginx
Content-Length: 178
Content-Type: text/html
Title: 301 Moved Permanently
See below grid.
minuendOr1st subtrahendOr2nd ExpectedResult ActualResult Match?
2.0 1.1 0.9 0.8999999999999999 FALSE
2.0 2.1 -0.1 0.10000000000000009 FALSE
2.0 -1.0 3 400 Bad Request FALSE
2.0 -0.1 2.1 400 Bad Request FALSE
2.0 -1.1 3.1 400 Bad Request FALSE
-2.0 0.0 -2.0 400 Bad Request FALSE
-2.0 0.1 -2.1 400 Bad Request FALSE
-2.0 -0.1 -1.9 400 Bad Request FALSE
-2.0 1.0 -3 400 Bad Request FALSE
-2.0 -1.0 -1 400 Bad Request FALSE
-2.0 -2.0 0 400 Bad Request FALSE
-2.0 -3.0 1 400 Bad Request FALSE
-2.0 1.1 -3.1 400 Bad Request FALSE
-2.0 -1.1 -0.9 400 Bad Request FALSE
-2.0 -2.1 0.1 400 Bad Request FALSE
-2.0 -3.1 1.1 400 Bad Request FALSE
Performing a subtraction transaction where either the minuend or subtrahend is blank results in a 400 bad request.
Examples:
2.0 - = (400 error code; bad request)
See below table
minuendOr1st subtrahendOr2nd ExpectedResult ActualResult Match?
2.0 1.1 0.9 0.8999999999999999 FALSE
Performing a addition transaction where either addend is negative results in a 400 bad request.
Examples:
2.0 + -2.0 = (400 error code; bad request)
-2.0 + 1.0 = (400 error code; bad request)
-2.0 + -1.0 = (400 error code; bad request)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.