triangle: Added template to stub file
+pub struct Triangle;
+impl Triangle {
+ pub fn build(sides: [u64; 3]) -> Result<Triangle, ()> {
+ unimplemented!("Construct new Triangle from following sides: {:?}. Return Error if the sides are invalid.", sides);
+ }
+
+ pub fn is_equilateral(&self) -> bool {
+ unimplemented!("Determine if the Triangle is equilateral.");
+ }
+
+ pub fn is_scalene(&self) -> bool {
+ unimplemented!("Determine if the Triangle is scalene.");
+ }
+
+ pub fn is_isosceles(&self) -> bool {
+ unimplemented!("Determine if the Triangle is isosceles.");
+ }
+}
