File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
- FROM gitpod/workspace-full-vnc
1
+ FROM gitpod/workspace-base:2023-10-04-18-52-46
2
2
3
- RUN sudo apt-get update \
4
- && sudo apt-get install julia -y
3
+ ENV JULIA_TMP="julia_tmp.tar.gz"
4
+
5
+ RUN test ! -e "${JULIA_TMP}" \
6
+ && curl https://julialang-s3.julialang.org/bin/linux/x64/1.9/julia-1.9.3-linux-x86_64.tar.gz -sSf -o "${JULIA_TMP}" \
7
+ && tar zxvf ${JULIA_TMP} \
8
+ && rm ${JULIA_TMP} \
9
+ && echo "export PATH=${HOME}/julia-1.9.3/bin/:\$ PATH" >> ~/.bashrc
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ using TheAlgorithms.Math
59
59
@test_throws DomainError area_heron_triangle (- 1 , - 2 , 1 )
60
60
@test_throws DomainError area_heron_triangle (1 , - 2 , 1 )
61
61
@test_throws DomainError area_heron_triangle (- 1 , 2 , 1 )
62
+ @test_throws DomainError area_heron_triangle (1 , 1 , 3 )
63
+ @test_throws DomainError area_heron_triangle (1 , 3 , 1 )
64
+ @test_throws DomainError area_heron_triangle (3 , 1 , 1 )
62
65
63
66
@test area_parallelogram (10 , 20 ) == 200
64
67
@test_throws DomainError area_parallelogram (- 1 , - 2 )
You can’t perform that action at this time.
0 commit comments