ifmo-mobdev-2014 / lesson4 Goto Github PK
View Code? Open in Web Editor NEWCalculator
Calculator
New AS doesn't support old gradle, so Studio updates it. And the robolectric dies. Can you update both gradle and robolectric?
It isn't obvious what to do in this task. README.md with explaination of task (and a link to some tests) would be very useful.
"Вы должны добавить тесты на вашу реализацию CalculationEngine" it means that i should add lines like "Assert.assertEquals(2d, CalculationEngineFactory.defaultEngine().calculate("1+1"));" to DummyTest.java?
And what epsilon we should use for determine division by zero? Or we should ignore it and write Infinity or something like 1E-5?
Можно ли использовать собственную библиотеку для парсинга выражений или нужно парсить кодом этого же проекта?
Объясните, пожалуйста, почему тест -----5 не должен вычисляться?
В задании не было прописано о невалидности подобного выражения, и большинство распространенных калькуляторов без проблем вычислят этот тест.
Могли бы вы оповещать нас по почте ([email protected]) когда выкладываете задания?
А можно ли писать его из дома?
What about deadline?
sudo ./gradlew test --info
return "no system properties value for ro.build.date.utc"
result file consider
"
"Are negative numbers always presented as (-N), e.g. 5+(-2), 5-(-2), or there can be something like 5+-2 or 5--2, which should be processed as correct input?
При попытке собрать получаю ошибку:
Error:A problem occurred configuring project ':app'.
> Module version org.robolectric:robolectric:2.3 depends on libraries but is not a library itself
Объясните, пожалуйста, почему тест -----5 не должен вычисляться?
В задании не было прописано о невалидности подобного выражения, и многие из распространенных калькуляторов без проблем вычислят этот тест.
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.