// Tests the GetClassLabelIndexValue function TEST(Classifier, GetClassLabelIndexValue) { Classifier classifier; EXPECT_TRUE( classifier.getClassLabelIndexValue(1) == 0 ); //There are no class labels yet, so the default value (0) should be returned EXPECT_TRUE( classifier.getClassLabelIndexValue(-1) == 0 ); //There are no class labels yet, so the default value (0) should be returned EXPECT_TRUE( classifier.getClassLabelIndexValue(5) == 0 ); //There are no class labels yet, so the default value (0) should be returned }