Comments (6)
I think the issue with Hello World is that a stub is provided named hello_world.c
. When you try to rename example.c
to hello_world.c
it fails and so runs the tests with the empty implementation and fails all 3 tests. When I tested by removing hello_world.c
and example.c
all tests pass.
from c.
I don't see any failures for Anagram. What failure are you seeing?
from c.
Yep, good call about Hello World. As for Anagram, I'm getting:
anagram.c:163:test_multiple_anagrams:FAIL: Expected 3 Was 0
on OS X with LLVM 8.0.0.
...
However, on Ubuntu 16.04 with GCC 5.4.0, everything passes.
from c.
I can't get a failure for Anagram either (Ubuntu 12.04 & 16.04). I even tried it using GCC 4.8, which I think I heard was the version on Travis (?) but that worked fine as well.
I will take a more in-depth look tomorrow and test the failure on Travis.
We need to get this running before putting more exercises in. #71 wouldn't even compile, one of the test names was wrong.
from c.
Ok, I'm not sure what was going on before, but Anagram is now working for me. Maybe fed3ddf fixed it?
from c.
I think it's quite likely that it did. I think this is good to go.
from c.
Related Issues (20)
- Add learn track for C HOT 5
- Implement the exercise "high-scores" HOT 9
- Change to "community-contributions-accepted" HOT 2
- Expected and actual assertion arguments reversed in some tests HOT 2
- Docs: test framework overview links to empty article HOT 1
- More documentation to `Grade School` HOT 1
- Add `make memcheck` tip for the HELP.md file. HOT 1
- Building a training set of tags for c HOT 23
- Rework the gigasecond exercise? HOT 3
- Problems in pascals-triangle test HOT 12
- The order of the results actually matters for the Word Count exercise HOT 4
- Pascal's Triangle has a bad Test Case defining Zero Rows. HOT 2
- Exercises for #48in24 HOT 17
- pig latin in C track HOT 2
- Grade school : ARM64 - Some tests fail when run online HOT 5
- The square root problem needs to be improved HOT 4
- Return type for `convert(char result[], int drops)` in "Raindrop" should be of type `void` HOT 2
- Approach is missing in "Hamming" HOT 5
- Jumped right from Hello World to Armstrong Numbers? HOT 5
- Use of macros in "Series" isn't clear, consideration for removal? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c.