Skip to content

Commit

Permalink
exercise stubs - part 3 of 4 (#286)
Browse files Browse the repository at this point in the history
[no important files changed]
  • Loading branch information
keiravillekode authored Oct 2, 2024
1 parent ecaeadd commit 61ac917
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions exercises/practice/raindrops/source/raindrops.d
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
pure string convert(immutable int n)
{
// implement this function
}

unittest
{
immutable int allTestsEnabled = 0;
Expand Down
5 changes: 5 additions & 0 deletions exercises/practice/reverse-string/source/reverse_string.d
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module reverse_string;

pure string reverseString(immutable string value)
{
// implement this function
}

unittest
{
immutable int allTestsEnabled = 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module rna_transcription;

pure string toRna(immutable string dna)
{
// implement this function
}

unittest
{
import std.exception : assertThrown;
Expand Down
5 changes: 5 additions & 0 deletions exercises/practice/roman-numerals/source/roman_numerals.d
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ module roman_numerals;

import std.stdio;

string convert(ulong number)
{
// implement this function
}

unittest
{

Expand Down

0 comments on commit 61ac917

Please sign in to comment.