Hi!
First time writing here, so I apologize for any mistakes on my part in advance.
I am going through Learning Mode in C++ language track. I came across an inconsistency in Doctor Data exercise, specifically:
We get some code snippet:
heaven::Vessel bob{"Robert Johansson", 1};
heaven::Vessel will{"Riker", 2, star_map::System::BetaHydri};
Two paragraphs later, we get the info about what we should do:
Prepare the source and header files with your discovered information.
You need two namespaces:heaven
andstar_map
. Theheaven
namespace has a classVessel
, which can be called with two or three arguments. TheSystem
enum is to be placed in thestar_map
namespace and has anEpsilonEridani
enumeration. Keep an eye out for other enumerations, so that you can constantly update theSystem
enum.
There, Epsilon Eridani
is noted, while it does not appear in the above snippet. Additionaly, tests do expect the BetaHydri
enumeration:
TEST_CASE("Create different probes", "[task_1]") {
heaven::Vessel bob{"Robert Johansson", 1};
heaven::Vessel will{"Riker", 2, star_map::System::BetaHydri};
}
If this indeed is not intended, I would be happy to open a PR with correction. However, I will need some help, as it will be my first one